mengu on web programming.

First Application With Werkzeug

I have written my first application with [Werkzeug](http://werkzeug.pocoo.org). In order to not to write another blog application with another framework, I thought it's better to create something else so I decided on a to do application which I will be using. I have used [Jinja2](http://jinja.pocoo.org/2/) and [SQLAlchemy](http://www.sqlalchemy.org/) on this project with Werkzeug. So, what is Werkzeug? > Werkzeug started as a simple collection of various utilities for WSGI applications > and has become one of the most advanced WSGI utility modules. > It includes a powerful debugger, fully featured request and response objects, > HTTP utilities to handle entity tags, cache control headers, HTTP dates, cookie handling, > [file uploads](http://www.mengu.net/post/werkzeug-file-uploads), a powerful URL routing system and a bunch of community contributed > addon modules. I have first met Werkzeug when I watched a screencast of Massimo (web2py's author) with a link to [Armin Ronacher](http://lucumr.pocoo.org)'s screencast [Create a Wiki With Werkzeug in 30 mins](http://werkzeug.pocoo.org/wiki30/) and to tell the truth, I was impressed. Coming from PHP and still being a PHP developer, Werkzeug made me feel like I would develope applications easier than other frameworks. I have been developing applications with full stack development frameworks like [web2py](http://www.mengu.net/demo/tag/web2py), [Django](http://www.mengu.net/demo/tag/django) and [Ruby on Rails](http://www.mengu.net/demo/tag/ruby-on-rails). I like them, I really do but I really enjoy frameworks like sinatrarb, [Werkzeug](http://www.mengu.net/demo/tag/werkzeug) and [webpy](http://www.mengu.net/demo/tag/webpy). They make me feel like I'm really free. I can do anything with them and I definitely have no pressure over anything. Long story short, Werkzeug provides you everything you need in order to develop a web application. It also comes with URL Routing which is definitely very useful and good. I'm sure you will find Werkzeug pretty interesting and helpful. Don't forget to take a look at the current [Werkzeug Documentation](http://werkzeug.pocoo.org/documentation/dev/index.html). Werkzeug also easily integrates with Apache/mod_wsgi with some simple configuration which can be found [here](http://werkzeug.pocoo.org/documentation/dev/deployment/mod_wsgi.html). For example, you can check to do application's configuration: My wsgi file is [here](http://github.com/mengu/werkzeug-todo/blob/master/todo.wsgi) and my apache site configuration is as follows: ServerName todo.local WSGIDaemonProcess todo user=mengu group=mengu processes=1 threads=5 WSGIScriptAlias / /home/mengu/projects/todo/todo.wsgi Alias /static /home/mengu/projects/todo/static/ WSGIProcessGroup todo WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all And.. My first Werkzeug application can be found on [my github repositories](http://github.com/mengu/werkzeug-todo). Enjoy browsing! :)
Check my latest project compector.com where you can post references about your former employers and see what others have said about the future employers. Sign up now and post a reference and share it on twitter or facebook.
Tags: werkzeug

Comments

No comments made for this post.

Leave a Response

No HTML allowed. You can use markdown.
Name*:
E-Mail* (not published):
Web site:
Response: