New Forum Software

Discussion in 'PHP' started by Waizujin, Dec 18, 2009.

  1. #1
    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?
     
    Waizujin, Dec 18, 2009 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    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..
     
    mastermunj, Dec 18, 2009 IP
  3. astkboy2008

    astkboy2008 Peon

    Messages:
    211
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    astkboy2008, Dec 18, 2009 IP
  4. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    xenon2010, Dec 18, 2009 IP
  5. ghprod

    ghprod Active Member

    Messages:
    1,010
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #5
    can u show us your demo?

    regards :)

    for TS, why u use smarty? they need twice procces to get out to browser :(
     
    ghprod, Dec 18, 2009 IP
  6. Waizujin

    Waizujin Peon

    Messages:
    281
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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.
     
    Waizujin, Dec 18, 2009 IP
  7. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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..
     
    xenon2010, Dec 18, 2009 IP
  8. ghprod

    ghprod Active Member

    Messages:
    1,010
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #8
    i think template engine that include in codeigniter better than smarty :) like wordpress themes do :D 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
     
    ghprod, Dec 18, 2009 IP
  9. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    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..
     
    xenon2010, Dec 19, 2009 IP