Saturday, February 18, 2012

Why dont you create your own CMS???--Part 1


Well if you are ready with your base on php and mysql,we can start creating our own CMS.
Lets give our CMS a name - "stupid cms"
The features of our CMS will be

  • It will be based on object oriented programming.
  • it can be extended with module system.
  • Theming will be easy.
  • controlled from a single index page.
  • simple admin interface..etc
Let me remind you that stupid cms is just a cms to learn and will not be highly secure.
This cms might be very very bad for advanced developers,but will be good for beginners.
I am assuming that you have already set up xampp on your computer.
So lets staaaaaaaaaaaaaaarrrrrrrrrrrtttttttt..........

Stupid cms will be completely based on module system.Even home and admin interface are considered as modules.The default module will be "home"
  • Open htdocs folder in xampp directory.
  • Create a new folder and name it as 'stupid'.
  • Create following folders in stupid directory.
  1. Folders======>>  actions,modules,themes,include,main.
  2. Files========>>  index.php
  • Create a file 'actions.php' in actions folder.
  • The folder 'include' is for class files.
  • Folder 'main' is for configuration,functions files.
So now we can look to the 'main' folder.

1 comment:

  1. It’s had zero unfavorable press, it’s never had any points with paying out giant jackpots, and it’s totally licensed. Both of these are glorious presents that can bulk up your bankroll before you’ve even properly received started. There’s additionally a VIP program that gives you the chance to win a Tesla at the time of writing . However, find a way to|you probably can} high it up by an extra 20% you've got to|must you} deposit by way of NeoSurf or Bitcoin. Alternatively, you've got to|must you} determine to deposit by way of Bitcoin, find a way to|you probably can} grab a 150% as much as} $1,500 welcome bonus. When you first create an account, you’re entitled to a one hundred pc as much as} $1,000 welcome bonus.