Trying to reinvent the wheel of StackOverflow to have a good learning experience. Need some suggesti

Posted by Legend on Stack Overflow See other posts from Stack Overflow or by Legend
Published on 2010-06-05T22:46:38Z Indexed on 2010/06/05 22:52 UTC
Read the original article Hit count: 155

Filed under:
|
|
|
|

I want to learn and am not able to do it unless I have a real "mission" to complete. SO is my favorite and I can't imagine a better experience than actually recreating it but not in ASP. I'd like to use PHP+MySQL+jQuery. So far, I have been a self-taught programmer but I would like to master one paradigm that forces you to adhere to the standards.

For instance, recently, jQuery forced me to use some "rules". The plugins were supposed to be written in a particular way and that's it. When I started off, everything seemed like Greek and Latin but when I finished a very small plugin, I felt really happy because it forced me to program in a certain way. I am looking for something like this only in a larger project.

I've heard a lot about MVC and all but I am confused about the various frameworks out there. Zend seems awesome but looks heavy at the same time and also requires you to have a lot more control over the web-server whereas CakePHP is a good and a fast framework that needs only little control. Do I use one of these or just write my own MVC? I have the following goals:

Goals:

  • Site should be fast - I know this depends on my coding skills but I will learn on my way. The framework itself should not slow me down)
  • Setting up the site should not require you to use command-line - This requirement is ok during development. But some frameworks like Symphony require you to initialize certain things through command-line
  • Should support pluggable modules - For instance, if I want to be able to use the FCK editor, I should be able to organize things in a good way.
  • Should be possible to extend - For instance, SO is mainly a Q&A site but I should be able to logically extend it into an Idea Management System (optional but I'm curious). This goes more into code re-usability I guess.

I am comfortable with MySQL so I should be done with database design etc. with some serious effort. As for PHP, I can write code on my own but haven't really used any frameworks that much. jQuery, I started off recently and love it. I would be glad if someone can guide me during these initial steps. Precisely, when designing something like SO, I have the following questions:

  • Do I use a framework? If yes, should it be MVC? If MVC, which one is a good and a scalable one? (I'd love something like jQuery that will not die anytime soon)
  • How do I balance the functionality? The same logic can sometimes be made server centric or client centric. (more Ajax?). Is it a good idea to make a heavy javascript site considering the recent advances on client-side JS processing?

Just in case anyone is wondering, I am not interested in commercializing any of this. I need a reason to learn something :)

© Stack Overflow or respective owner

Related posts about php

Related posts about jQuery