Link to home
Start Free TrialLog in
Avatar of firepol
firepol

asked on

suggestions to develop my own (simple) CMS

Hi,

I have a basic PHP4 and MySQL knowledge but low object programming knowledge. I developed some small PHP web applications, a wordpress plugin but I never did programming classes. Thus some of you may tell that my way would be "old school scripting".

I know that there are some coding standards like Pear, there are caching systems, or template engines like smarty, but I never went in depth into them (I've just tried smarty once but it didn't satisfy me a lot, maybe i should retry again, or d you know better template engines?)... would you recomment me to learn some particular coding standards, frameworks, particular applications (e.g. like Eclipse? or Zend Studio?), template engines, caching systems? If yes, which ones?

I would like to improve my PHP knowledge by developing a very simple CMS. I already created a simple PHP4 script powered by the ezsql class ( http://www.jvmultimedia.com/portal/node/6 ). Actually I have a page to insert/edit content into the DB and I use a WYSIWYG editor: Tiny MCE. Then I have a PHP page to display the pages taking the contents from the database records.

Thus I have a very simple and working CMS, but I'd like to extend it by adding templates support (should I use something like smarty, that already has a templating system?), cache support and eventually an ability to create html pages all at once by taking all the pages from the DB like movable type does.

I'm expecting suggestions from expert PHP developers. If you are a PHP beginner like me, please don't answer. Thank you.
SOLUTION
Avatar of aminerd
aminerd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of firepol
firepol

ASKER

I think you gave me some good material here.

Maybe I will try to cut the features I wanted (for now) and try to keep my CMS simpler, in order to be able to easily switch from a template engine to another and see the differences.

I was thinking to try Smarty, as I've already tried it, but I'm curious to learn also the phpBB template engine, if you tell me it's the "trade2.

Smarty is used in Gallery2, which is one of my favorite open source projects: http://gallery.menalto.com .

Smarty has a built in cache system but I'm realy wondering how it works, it has to query the db or not...

dutchclan: do you know any tutorials, online resources to learn about data modeling? In my case I don't need a big database. I need a small db just to store page content + eventually page categories and theri "childs". Basically the DB in my case has only 3 tables:

1) pages
2) categories
3) categorychilds

What about translations? I see some php scripts include a php file, which is quite easy to translate, but gallery2, wordpress and some other scripts use, instead, the .mo (.po format).

Thanks for letting me know.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial