RockForums.Co Revisited

I have spent most of my Web Development years using PHP, one of the limitations is conforming to the shared server php.ini file such as file upload limit which is 64mb and cannot be changed by myself (http://support.hostgator.com/articles/cpanel/php-settings-that-cannot-be-changed), only the server admin can do that (very unlikely to change setting even if I asked nicely); One way of avoiding php.ini is to use a language other than PHP, I choose to go by what the Scotsman (in one of the job interview I had) suggested to me, Python, which is virtually zero configuration at the core because of the general purpose nature, framework like Django has its own set of configurations which I have full control of by modifying settings.py in the project folder.

The design methodology is based on Object Role Modelling (ORM) not to be confused with Object Relational Mapping which happens to share the same initial.  I could of used Entity Relational Diagram (ERD) in Visio, but then I would find myself fighting with dialogue boxes which I find very tedious with ORM I never get into that situation with those, I just simply drag and drop the symbols and type in the labels.

Here the ORM Design, those dashed boxes are not part of the ORM standard, but at least it’s fellow Django structure quite well.

The prototype is all up and running at http://rockforums.co, I still got to fully implement the Message App and the password reset feature.

I find Python to be faster than PHP, PHP tends to include all the modules, with Python I have to explicitly specify the required modules to import, Python is compiled while PHP is interpreted, plus someone in London pointed out to me is that most shared server have PHP poorly configured, PHP can do html cache but many of them choose not to set it up,  I believe Django also has html cache (https://docs.djangoproject.com/en/dev/topics/cache/).  I also find Python a lot tidier then PHP, mainly because it’s not so dependent on wildcard ‘$’ or dollar as it’s known in currency.

I had fun with Python and Django, I plan on getting the rest done in January next year 2012.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>