Posts Tagged ‘cms’

CMS/site project status

Saturday, February 3rd, 2007

1149 lines of code so far. That’s not including and database file initialization code or other things such as the css for the public site.

Completed (“somewhat tested”):
- Add/edit main page links
- Add/edit/delete main page basic html content blocks
- Visual template system and the final visual look of the site.
- Public index.php looks “done” visually. The main links work and display all basic – content blocks when clicked (ordered by ‘zorder’). It’s just lacking sub links (articles and galleries).

To Be Completed:
- Delete main page links (I haven’t decided if I want it to do a recursive deletion of all content associated with it or not).
- Add/edit/delete articles (aka. multipage basic html content blocks).
- Add/edit/delete image galleries.
- Make the admin pages secure.
- Testing, testing, and more testing!

I’ve been thinking of not bothering with an image gallery aspect. The multi page articles would have similar abilities to a photo gallery. The only difference is that it could not support the thumbnail->large image functionality.

Edit: I was thinking of adding a global error handler that pipes all errors into a 50 – 100 item large database table. This table would be viewable from one of the admin pages. It would save a lot of effort debugging second-hand problem information.


Here is a sample of the site:

Finally got moving on something…

Tuesday, January 30th, 2007

From the previous posts it’s easy to notice that I’ve been searching for an efficient way to code large web projects. While I am still open to frameworks and such I had something happen that kind of “brought me back to my roots.” I have the job of making a website for a not-for-profit organization in my area. I decided that they should have something easy to update, so that means a data driven site with a back-end. I don’t want to use premade systems because they have too many things I don’t want included. I therefore decided to go with what I’ve worked with in the past which is straight PHP.

More specifically PHP5+ and the SQLite database engine. PHP5 perfects a good deal of useful features over the older versions such as the class/object model. It also adds support built-in for the file based SQLite engine. For what I am creating, SQLite takes out a lot of the unnecessary complexity of using MySQL.

I’ve got the database and general site design “done”. I also have a nice chunk of the back-end working. I integrated an open source browser based wysiwyg html editor, so updating the site will be a breeze. I also plan on adding functionality for multi-page events/articles and image galleries.

I’m pretty happy with the results so far. It might be taking me longer by designing and coding a basic content management system myself, but I get the exact result I want without the added fluff of premade stuff.

I might be going into more detail later, so look forward to that!




The Way Of Coding



 
Scott J. Waldron Photography
Stock Photo Website
Tech Learning Site
Follow me on Twitter

Popular Article Tags

Archives

Pages