drupal: for web development
the longer i program (in terms of years), the more appreciation i have for pre-built solutions. example: when still in school, i wanted to learn perl cgi programming so i wrote a web page that included an area with a form that took in a text block and an area that displayed all previously entered text blocks. submitting the form wrote to a file and the displayed items were the existing contents of that file. a sort of primitive blog. well, now i would never write a blogging program from scratch like that- obviously i use this blogger product.
the same thing goes with web application development. a few posts back i evaluated about ten solutions i have worked with. you are still starting with a blank slate for most of them but the speed and ease of getting a site with basic functionality differs (the ruby on rails "scaffold" can produce a nice looking web site quite quickly). the main focus there was basic CRUD (create-read-update-delete) functionality with a secondary focus being ease of development for the graphical side of the site.
lately i've been experimenting with something a little different- a CMS (content management system) called drupal. a couple of strengths of a site using drupal over the ten solutions i discussed previously:
(a) the quality of grahical interface (the look-and-feel of the site), and
(b) the ease of updating content
the first point is important to me because i find designing a site from scratch a real pain. when i wrote a lot of php web sites, i had developed a skeleton set-up that included css and php/html pages and that i copied over for each new project. it was fairly basic, didn't look that good, and easily broke. with drupal, the page is already organized into the different regions of the page (header, footer, left, right, center) and different content blocks can be easily placed in those regions.
the second point is good for the cases in which i would use drupal. these would be small sites for folks that might want to update the content themselves without having to contact the person who set up the site (don't know if i can quite use the term "developer" in this case). the assumption is that most of the content is static as it would be for a site like a newspaper. there is not as much need to display dynamic database content.
still, i would always want at least the option of being able to display some database/dynamic content or enter some content. there is not an easy way to set up CRUD functionality in a drupal site but it is possible. since drupal can execute php code, all the CRUD pieces can be written by hand if needed. there exist downloadable drupal modules that take care of pieces of this but not all. also, to do something like populate a drop-down with values from a database table is not straight-forward (requires development of a "module" just for this purpose).
one area i have been learning about lately has been image display. though it has taken quite a long time to piece together, i have developed a site that allows a set of images to be uploaded to an image gallery and then the images in that gallery displayed in a slideshow. sounds simple there, right? the actual process is: create an empty "image gallery", use the "image import" module to upload the images as "image nodes" and apply them to the gallery, create a view that contains a slideshow with a filter set to only include image nodes in that image gallery, create a page that embeds that view in it.
this said, drupal would be great for a web site that needs a nice display and contains mostly static content (including images). it would not be good for a CRUD-heavy web site.
the same thing goes with web application development. a few posts back i evaluated about ten solutions i have worked with. you are still starting with a blank slate for most of them but the speed and ease of getting a site with basic functionality differs (the ruby on rails "scaffold" can produce a nice looking web site quite quickly). the main focus there was basic CRUD (create-read-update-delete) functionality with a secondary focus being ease of development for the graphical side of the site.
lately i've been experimenting with something a little different- a CMS (content management system) called drupal. a couple of strengths of a site using drupal over the ten solutions i discussed previously:
(a) the quality of grahical interface (the look-and-feel of the site), and
(b) the ease of updating content
the first point is important to me because i find designing a site from scratch a real pain. when i wrote a lot of php web sites, i had developed a skeleton set-up that included css and php/html pages and that i copied over for each new project. it was fairly basic, didn't look that good, and easily broke. with drupal, the page is already organized into the different regions of the page (header, footer, left, right, center) and different content blocks can be easily placed in those regions.
the second point is good for the cases in which i would use drupal. these would be small sites for folks that might want to update the content themselves without having to contact the person who set up the site (don't know if i can quite use the term "developer" in this case). the assumption is that most of the content is static as it would be for a site like a newspaper. there is not as much need to display dynamic database content.
still, i would always want at least the option of being able to display some database/dynamic content or enter some content. there is not an easy way to set up CRUD functionality in a drupal site but it is possible. since drupal can execute php code, all the CRUD pieces can be written by hand if needed. there exist downloadable drupal modules that take care of pieces of this but not all. also, to do something like populate a drop-down with values from a database table is not straight-forward (requires development of a "module" just for this purpose).
one area i have been learning about lately has been image display. though it has taken quite a long time to piece together, i have developed a site that allows a set of images to be uploaded to an image gallery and then the images in that gallery displayed in a slideshow. sounds simple there, right? the actual process is: create an empty "image gallery", use the "image import" module to upload the images as "image nodes" and apply them to the gallery, create a view that contains a slideshow with a filter set to only include image nodes in that image gallery, create a page that embeds that view in it.
this said, drupal would be great for a web site that needs a nice display and contains mostly static content (including images). it would not be good for a CRUD-heavy web site.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home