Announcement Announcement Module
Collapse
No announcement yet.
PHP and Dreamweaver? Page Title Module
Move Remove Collapse
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP and Dreamweaver?

    #1
    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?

  • #2
    HTML = client side language.

    PHP = a server side language. You need some type of server to run/test your scripts on.

    Comment


    • #3
      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


      • #4
        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


        • #5
          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


          • #6
            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


            • #7
              Originally posted by Kid Tiger View Post
              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?
              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.

              Comment


              • #8
                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
                All Creative World Network All Creative World Network Module
                Collapse
                WebMediaBrands
                Mediabistro | SemanticWeb | Inside Network
                Jobs | Education | Research | Events | News
                Advertise | Terms of Use | Privacy Policy
                Copyright WebMediaBrands Inc. All rights reserved.
                Working...
                X