Forums

PHP

This topic is locked

PHAkt quick question

Posted 18 Jun 2002 21:26:26
1
has voted
18 Jun 2002 21:26:26 gonzo mr posted:
Reason I ask is that dw/ultradev's native scripting language is ASP. It helps people who are not ASP savy get the job done with out really writing the code from scratch. ( this is in regards to the not guru's of ASP )

PHAkt I think does the same but for the php scripting language.. So this would be a huge boon to people like myself who are not very good with php.
Does it simplify the selection from the records/rows/tables etc..making the db, setting up the db.

P.S. I have mySQl/apache bundle installed and running on win2k..

If anyone has any advice or comments about it i'd like to hear it, maybe my assumptions are wrong, but if they are correct it'll be well worth the money they ask for the extension.

tia..

Replies

Replied 18 Jun 2002 22:31:38
18 Jun 2002 22:31:38 Michael O'Neill replied:
I think you have pretty much hit the nail on the head. While Phakt / UD enable you to do some very special things without being an expert programmer, I have found that to gain the most you still have to delve in and edit the code sometimes. I am far from an expert but I am getting some (i think) great results with the help of a couple of good books and the selfless help of the people here at UDZone.
Have fun
Mike.
Replied 19 Jun 2002 15:46:24
19 Jun 2002 15:46:24 Aurel Sorin Cirstoiu replied:
PHAkt is a great tool even for those that are not professional programmers.
You just give it a try .

www.interakt.ro

-----------------------
Cirstoiu Aurel Sorin
InterAKT Support
www.interakt.ro
-----------------------
Replied 21 Jun 2002 17:03:36
21 Jun 2002 17:03:36 gonzo mr replied:
OK last few questions.. I've printed and read some of the PDF.. it seems simple enough.

Ok, during the connection to the database, it uses adodb, or the other one.. I'm going ot be testing this locally on my win2k machine with the super bundle from firepages.com.au (mySQL/php/perl/apache) but eventually will use the scripts on a remote web server.. Am i mistaken but does all the info about the connections to the db by adodb only pertain to using it in the UD/DW environment..

So once it;s done ( the script ) it cna just be uploaded to the server, and viola? it works.. I think i'm missing something here..

Are there any tutorials about using phakt, outside the 3 here at udzone, seems they are specifically for connection to the db..

confused
garzzz
Replied 24 Jun 2002 10:09:59
24 Jun 2002 10:09:59 Aurel Sorin Cirstoiu replied:
There are three diferent connection types.
Macromedia connects using ODBC with a DSN or by JDBC.
The third way is for php scripts using ADOdb(NOT ADODB that you know from ASP) layer. ADOdb library is a wrapper over native php function. More about ADOdb at :
php.weblogs.com/ADOdb.
So using ADOdb library(several php scripts) you can connect to tha data base from every platform in the same way like you would do it with native php database functions.

-----------------------
Cirstoiu Aurel Sorin
InterAKT Support
www.interakt.ro
-----------------------

Edited by - csorin on 24 Jun 2002 10:11:57
Replied 24 Jun 2002 12:28:04
24 Jun 2002 12:28:04 Tim Green replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Macromedia connects using ODBC with a DSN or by JDBC.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

And if you're using DMX then there is a HTTP Connection method which uses neither an ODBC DSN or a JDBC Connection String.....

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 26 Jun 2002 02:21:25
26 Jun 2002 02:21:25 gonzo mr replied:
I guess I'm still lost.. which connection should i be using to one day port from the local machine to a linux webserver?

<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> thanks in advance
Replied 26 Jun 2002 12:46:31
26 Jun 2002 12:46:31 Aurel Sorin Cirstoiu replied:
If you are using Ultradev than you have the Ultradev's connection(upper side in the connection dialog) and php connection. For the first one use everything you want, but for php connection specify the hostname, user ,password, ...(do not use ODBC).
Also if you are using MX do not use ODBC because will not work under Linux environment.

-----------------------
Cirstoiu Aurel Sorin
InterAKT Support
www.interakt.ro
-----------------------
Replied 26 Jun 2002 17:34:49
26 Jun 2002 17:34:49 gonzo mr replied:
umm huh? LOL sorry I guess trying to teach a designer to program is not an easy task..

csorin, I'm sure what your saying makes sense to everyone else.. but i'm sorry friend I'm still confused..

I was able to connect using the tutorial from here yesterday ODBC. TEST was successful too..

But I'm afraid that i'm not doing this correctly as I would if it were on a remote server as one day this project will be.

I have a bundle installed mySQL,php, apache etc on WIN2K, I downloaded the mySQL drivers for add to the DSN so i could follow the tutorial as on UDzone.

I'm still confused as to what connection I should be using to one day , upload the mySQL db & the scripts/web pages to a Linux Box and get it to work..

Maybe I'm asking thw wrong question.. I feel like I'm confusing myself even more..

Too bad php is not like photoshop. :}

If some kind person can make heads or tails of this for me I'd sure appreciate your help.
Thank you csorin for your time. but Alas I guess my skull is thick.

I'm not using MX, but UD4, mySQL, apache, phpmyadmin, my mysql sb has NO passwords set up as it's on a my local machine. I have never setup a database connection thru UD nor another program for that matter <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> I'm a virgin.

ciao
garz
Replied 27 Jun 2002 10:28:32
27 Jun 2002 10:28:32 Aurel Sorin Cirstoiu replied:
You connected using ODBC. It works fine. But when you will upload files to Linux box it won't work because there you don't have a DSN and ODBC.
That's why you will have to connect without ODBC.
Take a look at:
www.udzone.com/showDetail.asp?TypeId=2&NewsId=1221

-----------------------
Cirstoiu Aurel Sorin
InterAKT Support
www.interakt.ro
-----------------------

Edited by - csorin on 27 Jun 2002 10:30:03

Reply to this topic