[Fwd: windows/linux -> Apache, PHP, MySQL... UltraDeV ???]
| From: | tr909 | Date: | Wed, 20 Sep 2000 22:02:33 +0000 |
| Subject: | [Fwd: windows/linux -> Apache, PHP, MySQL... UltraDeV ???] | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-2237@lists.php.net to get a copy of this message | ||
hello webby,
i fell in love with PHP and just send this out
to the Macromedia Dreamweaver UltraDev mailinglist.
maybe this is at the wrong adres because of
php opensource project, but it would be very nice
if one could WYSIWYG Rapid Application Development
with PHP and UltraDev :-)
Tr909
ps. maybe there's a developer around there at PHP
who can say something sane about my request.
is it that odd????
-------- Original Message --------
Subject: windows/linux -> Apache, PHP, MySQL... UltraDeV ???
Date: Wed, 20 Sep 2000 23:50:26 +0200
From: tr909 <tr909@nospam_altavistanet.net>
To: support@macromedia.com
Newsgroups: macromedia.ultradev
LS,
Why can't UltraDev develop PHP applications?
i have a small design setup at home windows with apache,
php and Mysql and i'm developing websites locally for
upload to an ISP or co-located server. i generally make
a dump of the local MySQL DB, upload it to the ISP and
the site is up.
I downloaded a trial of UltraDev. and it has only
$10.000 server models in it (Coldfusion, NT/ASP)
although (on windows) it does connect thru MyODBC
to mysql to insert fields, but i haven't found out
how to liveconnect to a apache/php solution, and the
game of ultradev would be to be able to WYSIWYG edit
PHP/Mysql too :-)).
after roaming the Configuration directory's i saw
a robust javascript based backbone for ASP implementation
and wonder why there is no PHP version, Macromedia?
how about PHP-OOP-objects includes ? I just know barely
enough about php and OOP but isn't this do-able? foo-sake.
some ASP code snippet generated by Ultradev, wich easily
could be translated to PHP, the ASP part:
-------------------------------------------------------
<%@LANGUAGE="JAVASCRIPT"%>
<% var Recordset1 = Server.CreateObject("ADODB.Recordset");
Recordset1.ActiveConnection = "dsn=database;uid=user;pwd=password;";
Recordset1.Source = "SELECT ID, date, author, title FROM articles";
Recordset1.CursorType = 0;
Recordset1.CursorLocation = 2;
Recordset1.LockType = 3;
Recordset1.Open();
var Recordset1_numRows = 0;
%>
<html><head></head>
<%=(Recordset1.Fields.Item("title").Value)%><BR>
<%=(Recordset1.Fields.Item("ID").Value)%><BR>
<%=(Recordset1.Fields.Item("author").Value)%><BR>
...
--------------------------------------------------------
PHP also supports asp style tags. '<%=' is interpreted as
'<?php echo' so to insert variables can be easy too. The
UltraDevLib would include a object class with mysqlconnect
functions and error reporting etc. and might even include
a server side object if you wanted session info following.
The expample above in php could look like:
--------------------------------------------------------
<?PHP include(includes/UltraDevLib.php);
$Recordset1 = ServerCreateObject("MySQL_recordset");
$Recordset1->ActiveConnection = "dsn=database;uid=user;pwd=password;";
$Recordset1->Source = "SELECT ID, date, author, title FROM articles";
$Recordset1->CursorType = 0;
$Recordset1->CursorLocation = 2;
$Recordset1->LockType = 3;
$Recordset1->Open();
?>
<html><head></head>
<%=$Recordset1->Fields->ItemValue("title")%><BR>
<%=$Recordset1->Fields->ItemValue("ID")%><BR>
<%=$Recordset1->Fields->ItemValue("author")%><BR>
-------------------------------------------------------
Bottomline:
I just no to little of PHP and ASP and JAVASCRIPT to make this work
and it would take me ages to hack thru ultradev's configuration
directories, (make a copy first :-) but for a developer this shouldn't
be to dificult a job, or?
not every webby can afford a $5000 per CPU Coldfusion
awaiting your reaction, i remain
Tr909