Aug 01

PythonI started working on Python start of the year and I learned a lot while I'm doing my internship in my current company, MooWee Inc. So it's logical for me to try to pick up Django as the web framework.

One of the hurdle I met and everyone else met is trying to install MySQL adapter for Python. Being the most popular database used, it is crucial to have it work rather than circumventing around the problem by using alternative database such as SQLite or PostgreSQL.

After a few hours of searching, I found a few references that somewhat not entirely complete. I did some cross referencing and found two brings me to the entire solutions, which I'm about to show below.

Continue reading »

written by mangoorange \\ tags: , , ,

Aug 24

PHPI can't believed it that I've been using extract($_GET) and extract($_POST) where I could just type in extract($_REQUEST). Feel so silly now. Nevertheless, it was cool to learn that it exist. Never to late to learn. :)

More information can be found here (that's where I found what it means):
http://www.w3schools.com/php/php_get.asp

written by mangoorange

Jun 13

How to teach web programmingI always wanted to give back to the society and lately, I told myself, "Why not teach the students on how to design and program a website?" In Singapore, not many have the web programming and design skills and I personally finds it very useful. Coincidentally, when I was back at home, my sisters wanted me to teach them how to do it. So I took this opportunity to try my teaching method.

Surprisingly, it's much harder than I thought. There are so many things involved around this "Web" subject ranging from the technicality of web server technologies, web standards, HTML, PHP, MySQL, CSS, Javascript, etc. And most of them correlated. Chicken and Egg problem.

I began to wonder, should I take at a high level approach or a low level approach? A high level approach would to be give them a well-finish site, like Wordpress, and start exploring parts by parts when they want to make changes to the website, wherelse a low level one will be explain bits and pieces and relate it to them.

What do all of you think? Do you all have any experience in learning or teaching?

written by mangoorange