I'm learning PHP through Lynda.com and the tut vids take you through the whole process of downloading PHP, downloading WAMP (for Win) using Apache, etc... and I'm just not sure if I need to do all that because I use Dreamweaver CS4. I ran the simple function <?php phpinfo(); ?> to see if my MySQL database was up and running and it is, so I'm just not sure that I can't just create new blank .php documents in Dreamweaver and just create new scripts there. However, the dude was talking about playing with the admin, ini file and also configuring different things and my question is do I need all the aforementioned apps to access these ini, admin and config files or can I just open said files in Dreamweaver and edit them like any other file?
Announcement
Announcement Module
Collapse
No announcement yet.
PHP and Dreamweaver?
Page Title Module
Move
Remove
Collapse
-
Tags: None
-
HTML = client side language.
PHP = a server side language. You need some type of server to run/test your scripts on.
-
I don't even know what to say to that.
I have a server, through Godaddy.com
I have a MySQL database setup on the server but I want to know if I need to go through all the Apache, WAMP fiasco if I have a server, Dreamweaver, etc?
Comment
-
Yes, you need something like WAMP to run a server instance. AFAIK, Dreamweaver has no kind of server utility in it. Honestly, though, I've never looked but I think I would have come across it had they offered that feature.
Comment
-
OK, I'll take your word on it. So, Dreamweaver is for putting the final product out there, ie embedded into html or putting whole .php pages on your server, but WAMP lets you play and test it out?
Comment
-
Pretty much. What WAMP does is create a virtual webhost on your PC. It creates a folder and that is your "website". Anything in that folder should be laid out as it would be when you upload the files to your website. For example, within your "fake website" folder, /index.html or /index.php will be your domain home page and the folders around it will link the images and all that stuff.
What programs like WAMP do is create a MySQL database and create a virtual Apache server so that you can test your site and changes quickly without having to upload things constantly via FTP. It also allows you to work offline locally within that virtual server environment.
Dreamweaver is for actually editing and creating the website. That's where you edit your PHP, CSS, and HTML files.
Comment
-
Dreamweaver is an editor , you can work locally or on a hosted server (through ftp). WAMP is a lets say.. virtual server that lets you run/test your files locally.Originally posted by Kid Tiger View PostOK, I'll take your word on it. So, Dreamweaver is for putting the final product out there, ie embedded into html or putting whole .php pages on your server, but WAMP lets you play and test it out?
Comment
-
KT, from experience, it's a really really good learning experience to go through the motions of installing wamp, even if it's just to learn some of the terminology and how things work on the server side of things.
Where I work, I do all the front end design and dabble with the php when i need to, all the heavy stuff and server stuff is left to the hardcore developers. Learning how the .ini file works, htacess file and some other non design parts move has been invaluable to me when dealing with people in my department. These skills will help with communication at the very least.
Look for the xampp package, you can download and install the whole thing in one shot, at least that way you can edit little things and have a place called home (127.0.0.1)
Comment
Google search
Google search Module
Collapse
Latest Topics
Latest Topics Module
Collapse
-
Commented to Problems seeing multiple page threadsIt's weird but the multi-page threads were working for me at first, now they are not. But if I click "latest activity" for the thread at the top, it shows me all the pages. Plus if I just add...
-
Commented to New engine and layout on Graphic Design ForumPlease bear with us Rachel darlin ... hopefully things will be sorted soon xx
-
Commented to New engine and layout on Graphic Design ForumNo Jessica .. the forum is in the middle of a complete overhaul and upgrade. Unfortunately it's not working the way it's supposed to. The forum is sort of broken at the moment due to this. Please bear...
-
Commented to CSS3 Gallery?Can you give more info? What gallery?...
-
Commented to New engine and layout on Graphic Design ForumI clicked on a thread under the "Last Post" section in the Crit Pit, and a page came up saying that I am not authorized to view that page. When I click on the link to go to the Crit Pit, that...
-
Commented to wordpress website?Wordpress is basically just a bunch of php/html/css files. So in theory yes. I say in theory, because it all depends on the web host, and what kind of access one has to the back-end. With the proper...
-
Commented to New engine and layout on Graphic Design Forumlost lost lost lost lost lost
-
Commented to How do you handle proofs?Our sales and accounts guys have nothing to do with our proofing.
Art department handles proofs and we save these pdfs on our own computers. I delete these pdfs after I send...
All Creative World Network
All Creative World Network Module
Collapse
Comment