Mengu.net http://www.mengu.net/ mengu on web programming. en-us Thu, 11 Mar 2010 05:42:41 AM +0200 Tue, 10 Jun 2003 09:41:01 GMT Mengu.net mengu@mengu.net mengu@mengu.net Werkzeug File Uploads http://www.mengu.net/post/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.

]]>
2010-03-08 01:40:50 http://www.mengu.net/post/werkzeug-file-uploads
TurboGears File Uploads http://www.mengu.net/post/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.

]]>
2010-03-04 08:13:40 http://www.mengu.net/post/turbogears-file-uploads
Django vs. web2py http://www.mengu.net/post/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...

]]>
2010-02-22 12:27:17 http://www.mengu.net/post/django-vs-web2py
web2py Book http://www.mengu.net/post/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.

]]>
2010-02-12 12:14:54 http://www.mengu.net/post/web2py-book
Introduction to Play Framework http://www.mengu.net/post/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.

]]>
2010-02-10 08:40:16 http://www.mengu.net/post/introduction-to-play-framework
Rails 3 Beta is public. http://www.mengu.net/post/rails-3-beta-is-public We all are excited here because Rails 3 is coming and Rails 3 beta has been just released. There are lots of changes within Rails 3 and you can see them here. There will be method chain within ActiveRecord which is exciting.

If you wonder how you will upgrade your current Rails 2.x application to Rails 3, you can watch this screencast.

]]>
2010-02-05 07:11:57 http://www.mengu.net/post/rails-3-beta-is-public
How To Create Permalinks With Grails http://www.mengu.net/post/how-to-create-permalinks-with-grails I am developing a stackoverflow.com clone with Grails in order to digest it. I wanted to create permalinks or slugs of the questions for the urls. Since I already had the regular expression for this -I'm using it on this blog- all I needed to know how to use it with Groovy.

The solution is simple as always. There is nothing hard in programming. Anyway, solution is here.

]]>
2010-02-04 06:55:59 http://www.mengu.net/post/how-to-create-permalinks-with-grails
How To Choose A Web Framework? http://www.mengu.net/post/how-to-choose-a-web-framework I have started my web development journey with PHP. After a long time I heard there is something called web framework and then I wanted to learn the best one for me. I have reviewed and learned many frameworks and because of the fact that I'm a grasping person, I have learnt more than just one. Is this a mistake? A part of me says yes and another part says it's not a mistake. Both have reasons. So in this post, I will try to write a simple and short guide for people who are desperately unstable on choosing a web framework.

]]>
2010-02-04 06:52:39 http://www.mengu.net/post/how-to-choose-a-web-framework
Generating RSS Feeds With WebPy http://www.mengu.net/post/generating-rss-feeds-with-webpy Some days ago I have seen someone asking how to generate RSS feeds with webpy. It is like generating feeds with any other web framework.

]]>
2010-01-29 01:07:14 http://www.mengu.net/post/generating-rss-feeds-with-webpy
jQuery OS Detection http://www.mengu.net/post/jquery-os-detection Windows doesn't have Lucida Grande font by default so my visitors from Windows was reading my posts with the default browser font. I wanted to change the font-family property for Windows users from Lucida Grande to Lucida Sans Unicode. I have searched and found a plugin to detect client's operating system with jQuery.

]]>
2010-01-28 06:11:19 http://www.mengu.net/post/jquery-os-detection