I am thinking of creating a new open source forum software where pretty much everything is done with AJAX so that the page never actually reloads. It would be done in PHP and use the Smarty Templating Engine. The AJAX is already coded. Curious what people think about this?
Sounds good but doing everything through AJAX is not advisable. Forums should have provision to have plain url based functionalities as well. More over, if page never loads, means a lot and lot of control at client side, can sometime create security threat. It would require too much care while writing such application. In short, AJAX has to be used in balance mode and whenever necessary. Though, Idea is not bad and you can give it a try..
i think smarty too big for php forum too you can check this like http://www.jooria.com/scripts/PHP-Templates-Engine-118/ its has some of the great engines
I have created that before a while... using php + ajax + script.aculo.us library... it looked so cool. but handling security issues was very tough. so I decided to change it to somthing similar to normal forums. btw, I used simple javascript function to generate links for me and still the pages doesn't need to be refreshed.. and lastly its not advisable to create such forums because it needs good connection as well as good server as well as good bandwidth.
can u show us your demo? regards for TS, why u use smarty? they need twice procces to get out to browser
Smarty just serves my needs and I haven't found another one with similar coding methods. I like how Smarty works. If you can find a little more lightweight and efficient template system like smarty, let me know.
unfortunately I have removed it from my site and replaced it with another one here is the new one. its way lighter than the previous one.. http://www.footballfreetv.com/thread.php?language=en&forum=0 and yea smarty, PHPcake are very slow to execute.. to create forums you need to use normal PHP. coz its very light and many developers can work to make it better if it was an open source.. unlike smarty. not all developers can use it..
i think template engine that include in codeigniter better than smarty like wordpress themes do before i met CI, i use my own engine with pure php, and i'm glad with the result than smarty Hi xenon, that's your custom made by yourself? great!!! anyway, i found a littebug ... http://www.footballfreetv.com/showtopic.php?language=en&id=3 .. if you add single quote like this http://www.footballfreetv.com/showtopic.php?language=en&id=3' then it's show nothing .. maybe you can add in function php that proccess param ID and add (int) .. so php just read numeric no other regards
yea I built it with pure php + javascript and ajax from scratch... simple ajax to process comments and simple ajax to delete comments.. threads will be managed by their own writers. means I don't need moderators...any unwanted stuff will be removed by the author of that topic. and of course it will show nothing if you add any value other than numbers.. its for security purposes so you cannot inject nasty stuff .. of course I can add lots of other security stuff but I'm really not in the mood. I'm focusing on the advertisements for the site currently..