Dreamweaver 8 PHP Application Code
Being a dabbler the art of server side scripting I’ve had a lot of interest in learning and developing my PHP skills (and other server side languages). In a pinch I’ve been toying with Dreamweaver to handle a few things such as database connections, inserts, updates and a few other things for dynamic pages. This started because of the time constraints involved with getting the project together I didn’t have time to search out the syntax in PHP to handle this or that. What I’ve found is that Dreamweaver actually has a pretty good amount the common tasks in getting a simple application together then I realized. Which bring up the question..
Should I let Dreamweaver write PHP Code?
I’m thinking in the end, it’s a pretty scary concept letting any library, framework or application write code. The idea of letting that level of control out of your hands as a developer is actually a bit threatening and dangerous. Dangerous because if it breaks, it’s just that much more difficult to troubleshoot. Threatening because if anyone with a copy of said application can use a few simple interfaces to accomplish something then it’s a job security issue. So should I let Dreamweaver write code for me? Of course. Depending on the situation. Also I can’t imagine my code as a novice PHP developer will be better then Dreamweaver’s.
In the End
Ultimately Dreamweaver is a tool, and tools help you get the work done quicker, better and more efficiently. It’s also a powerful tool that has capabilities that aren’t always utilized, such as the ones I used to write a simple yet effective content management interface for a project I’m working on in roughly 2-3 hours.
For those Interested
Here’s what I did along with a couple of the code bits that I used in Dreamweaver.
I build a simple form based system to input data about a product including:
Title, Description, Price, Type, Path to the Photo
I used DW to build user authentication against a database the verifies you’re logged in for each of my “admin” pages. Also used it to log out a user.
I used the repeating data to have a viewing page for that listed all the products entered.
I used it to develop the front end system for the site also. (Very simplified).
I note this because in 2-3 hours I was able to build a few things that would have taken several hours to implement by hand and by having to reference syntax.
The other benefit to getting this to work in DW is that you have code written for certain tasks then you can review the code to help your learning process.
All in all I’m very happy with it but I still have concerns with how secure the code is, but I’ll fall back to the fact that I’m sure a team of developers writing code to include in DW are much more qualified then I am.
The Moral of the Story
Don’t forget to use those less utilized tools that you have access too. Many times there are plenty of time saving utilities that can free up time to concentrate on other parts of the project.
Read More » Comments Off