mengu on web programming.

Werkzeug File Uploads

I have been meaning to write about how to implement werkzeug file uploads before how to do file uploads with TurboGears because this is the top search engine query that my visitors are coming from and the fact that they cannot find what they search on my blog is really bothering me so here it is.

TurboGears File Uploads

I have seen people searching for a solution for file uploads with TurboGears. As always, once you have the idea, you can get it all working. I had no idea about what TurboGears sends for a file so I have created a simple upload form. I inspected the result and I saw there is a file attribute which gives me the entire file information and content that I can use. So once I had the way in my mind, I started developing the model.

Django vs. web2py

Many people would like to know the differences between Django and web2py. In this short entry, I will make a comparison of two popular Python web frameworks, Django and web2py.

  • Django is an MTV framework, web2py is a MVC framework.

  • Web2py lets you focus on developing your application, Django doesn't. It wants you to do all its stuff...

web2py Book

web2py book was the only big source on web2py. There was a scribd version for free and one could buy the pdf from lulu. Now the big news is this book is available online for free. You can reach the book at web2py.com/book.

Introduction to Play Framework

I have recently discovered this magical web framework named Play Framework written with Java. I have never thought web development would be fun and joyful with Java until I saw Play. Only Play was able to change my mind. If you are a Java developer and developing web applications with other frameworks or if you are a web developer who wants to develop web applications with Java I strongly suggest you giving Play a try. I see many Rails developers want to try Grails, ofcourse I encourage them for this however I recommend them trying also Play framework.

more