i was looking at some php frameworks when i came across codeigniter (yes, terrible name). i found it and learned the basics yesterday and to try and really learn it, i attempted to rebuild ttf in it. i have built majority of ttf with codeigniter on and off during work today. im totally blown away with how much code you can shave off using it. its actually insane. very clean too. i dont have session/cookies yet but ill have that up in about 20 minutes or so and then onto admin and userprofile pages. should have it all implemented by tonight.
anyway the point was to learn codeigniter, not actually rebuild ttf, and i must say - its easy, simple, clean and doesnt constrict you at all. im a big fan.
later.
oh, and i love the clean urls..
right now i have it working like this
http://localhost/forum/{view , edit, delete, create}/<forum_id if not create>
http://localhost/thread/{view , edit, delete, create}/<thread_id if not create>
http://localhost/post/{view , edit, delete, create}/<post_id if not create>
http://localhost/user/{view , edit, delete, create}/<user_id if not create>
so to view a thread it would look like this
http://localhost/thread/view/5
also it runs functions based on the url so to delete that thread i just link a delete button to
http://localhost/thread/delete/5 - then just check permissions and delete. same with edit, etc
form checking is seriously bad ass as well. no more massive if/else tangled webs.
this post has been archived.
crazy stuff.. i'll look into the codeigniter deal
ref:
http://www.thinktankforums.com/thread.php?thread_id=595