lazy saunter

(personal learnings in computation)

Tuesday, August 17, 2010

a preferred web development method

for some time now i've asked myself if a side-project popped up for me to develop a small/medium sized database-driven web site requiring some dynamic logic, how would i create it? which programming language and which framework or methodology.

out of the ten possibilities that i have used or have experimented with, there are five i would consider. breaking the list down by language, there are php, perl, java, and ruby.

--php--

(a) plain php: i developed numerous web sites for two years using php in which i created my own directory structure. this was ok but required a lot of work up-front to get a good system in place.

(b) smarty: i developed and put in production one system that used this template system. it also requires thinking out a good system but does some separation for you.
* could use for a new project.

(c) cakephp: i experimented with this MVC system for php. i didn't get far with it as i switched jobs during my experiment but would consider picking it back up.
* could use for a new project.

--perl--

(a) plain perl: i developed one massive web site with this and would never do this again.

(b) template toolkit: my latest project uses and has been very successful. if i had to create another perl web site, this would be my method.
* could use for a new project.

(c) perl mason: i experimented with this template system but never quite got a handle on the "component" idea and was put off by the perceived need to install mod_perl to make it work properly.

(d) perl catalyst: i learned about and experimented with this MVC for several weeks and constantly hit problems with dependencies with various perl modules to the point where it was requiring too much of my time to configure (which is not to say other people would have the same problems).

--java--

(a) stripes: this was the first (MVC) framework we started playing with six months back, while trying to standardize on one. i had no problems with it but have moved on to another.

(b) struts2 : i am actively experimenting with this MVC currently. things are looking good and i am able to create a small database-driven web site with built-in form validation and maintaining session data.
* could use for a new project.

--ruby--

(a) ruby on rails: i have played with this MVC off and on for a few years and liked it. I never got past using a simple sqlite database but don't think that this would limit me.
* could use for a new project.

----
to rank these five in the order i would use them (considering that part of the decision would be to keep learning), today:

(1) java struts2
(2) ruby on rails
(3) cakephp
(4) perl template
(5) smarty

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home