Tag Archives: postaweek2011

Frameworks part 2: server talks to framework – mod_php, mod_wsgi and friends

What happens behind the scenes when you unpack the web framework, like Django, CakePHP or CodeIgniter, which we did in this previous post, and you see the welcome message in your browser? How does the server get the framework to … Continue reading

Posted in frameworks, tutorials | Tagged , , , , , , , , , , | 2 Comments

Learning to learn to program

Learning to program is not easy. Learning to learn to program is even harder. It’s easy to start learning, but even easier to get lost along the way. I have just written my first comment on the Coding Horror blog … Continue reading

Posted in learn-to-learn | Tagged , , , , | 10 Comments

Django vs. CakePHP vs. CodeIgniter part 1 : downloading – planting the framework tree

I’m studying and comparing web frameworks (Django for Python and CakePHP and CodeIgniter for PHP). This series of posts describes what I learn from it. http://www.djangoproject.com/ | http://cakephp.org/ | http://codeigniter.com/ In part 1, I’ll be writing about tutorials and initial … Continue reading

Posted in frameworks, tutorials | Tagged , , , , | 10 Comments

Spaghetti hacker part 1 – “An easy game is a contradiction in terms.”

I’ve just read “Spaghetti hacker”, a book by Stefano Chiccarelli and Andrea Monti, which tells many stories from the Italian hacking scene, from the early eighties (“1982: the death of flipper”) to 1997, the year the book came out. The … Continue reading

Posted in books | Tagged , , , , , | 4 Comments

Atm-mi path-finder scraping script update (combining two scrapes)

I’ve upgraded my atm-mi interface-for-means-of-transportation-finder script. Now you can not only ask the best way to get from point A to point B in Milan, but you can also get the news about the lines you are advised to use … Continue reading

Posted in my code | Tagged , , , , | 3 Comments

No More Static Web Sites (learning from mistakes #1)

I’ve said it to my nephew, I can say it to myself as well: one must learn from one’s mistakes. And  in this case my mistake was to think that it makes sense to try to make a static website … Continue reading

Posted in learn-from-mistakes, musings | Tagged , , , , , , , , | 4 Comments

Milan’s public transport (atm-mi) path finder simplified interface, PHP script (one week scripting exercise n. 2)

I’ve written a script to create a simpler interface for Milan’s public transport (atm-mi) path finder web site. It took me a few days, and a lot of the time I was figuring out how to deal with exceptions (imprecise … Continue reading

Posted in my code | Tagged , , , , , , | 2 Comments