Easy to program and easy to use! great resource for people who are beginning with php and codeigniter .
So lets start.
Really simple, with hardly 25-30 lines of code in 3 files- thanks to CodeIgniter. If you are new to codeigniter please go through the CodeIgniter user guide, even if you don't its okay! i will brief you as we are programming.
Now, to get the feeling right, lets assume-
Your a geek, BIG TIME GEEK! and you have this website made on pure HTML and CSS. You get a good amount of traffic every month but then suddenly one night you feel that your site is lacking something... something is missing! You make your self a cup of coffee and your thinking ..and then it clicks to you! YOUR WEBSITE IS NOT INTERACTIVE! people cant interact with each other, they cant comment or chat... hmm too bad.
So you get your tool out(HEY! not that tool dude! put it back in PERVERT!), The 'geek' tool, GOOGLE! tak tak tak.. you type in - "comment system" or "chat system" and you REACH HERE. RELIEF! now your website can have some cool interactive features.
okay enough of my shit talks lets get started.
STEP 1- File structure
Codeigniter works on MVC model so open up your favorite text editor (i prefer notepad++ or NuSphere PhpED for codeigniter application development. code lobster is a good option too.) and open your application Model, View, Controller files.
<-- File structure of your codeigniter installation . I have changed the codeigniter folder name to shoutbox, Created a Model file 'shoutmodel.php', the View and Controller files are untouched and are the same that came with the codeigniter framework. View next post for step 2...Leave a comment for help!
