Posts Tagged With ‘Python&8217

Book Review: Django 1.0 Template Development

I have finished reading free copy of Django 1.0 Template Development to review which is written by Scott Newman and published by Packt Publishing. I have already posted a blog entry about the free chapter of the book.

Django is a powerful Python web development framework which has challenging built in features like templating system, admin pages… etc. I have been developing web based applications for years and worked on variety of languages and platforms however Django’s clean and clear architecture is unique. The book focuses on the template development with Django and the content;

Detailed information about book content is available.

Django 1.0 Template Development is designed for both beginners and advanced developers and template authors with variety of examples and detailed topics of template development.

The book starts with introduction to template development and an overview of Django template system. Also, following Chapter 4 discusses built-in tags, filters and Chapter 7 focuses on custom tags and filters which are highly used important issues in Django application development.

I would recommend Django 1.0 Template Development for developers who want better understanding and efficient use of template systems in Django.

About Django Template Development

As you know I’m a python and django fan. I try to use python and django in every project including academic studies. A few days ago, I had the book “Django 1.0 Template Development” and still exploring it. Thanks to Packt Publishing.

As long as I finalize my current study, I’m going to start writing about django template development and a review about the book. There is a sample chapter “Serving Multiple Templates” which you can download and read for free.

Why Python?

Why Python? I have been thinking and asking myself why I have chosen python while there are so many programming languages. Is it powerful, scientific, elegant, community, different??? You can find all of it in any programming language (or platform) so, what is it? Yesterday, I found something that can help to answer this question. The Python Paradox article written by Paul Graham. He says:

“… Python programmers are smart. It’s a lot of work to learn a new programming language. And people don’t learn Python because it will get them a job; they learn it because they genuinely like to program and aren’t satisfied with the languages they already know…”

Neither java nor c# describes me, the closest one is python.

Software Development & Deployment with Google App Engine

I have been developing applications for 5 years and worked on wide range of programming languages and platforms. If we exclude my undergraduate studies (like; tiny applications working on embedded devices or cross platform compiled iphone apps … etc.) briefly my experience on software development;

So, far I have dealt with many programming languages, platforms and most of them have painful development/deployment processes except one.  Google App Engine is the only platform that I have never had problems with software deployment.  I doesn’t matter which box you have (mac, win, linux ..etc)  for development, deployed application works as it in your local. You don’t have to worry about changes about model, app engine handles it smoothly. It is amazing. I have never seen such a thing before. Even I had problems with php but not with app engine. That’s why Google like companies must exits, they are the real innovators.

A Twisted Weekend

I spent my weekend working on my graduate studies and watching South Park. Only a few episodes left to complete all missed episodes.

I made my mind with help of my advisers and decided to study on Peer-to-Peer (P2P) Semantic Networks and made a three phase plan. First phase is supposed to finish in three weeks time. That’s why I spent most of my weekend implementing a p2p network using twisted networking framework.

It is an implementation of simple client-client p2p network which is designed to work in local networks and doesn’t support file transfer protocol at the moment. So, it is the simplest p2p network that each peer can discover and talk each other for specific tasks. It is planned to accomplish basic p2p operations to test our main semantic application.

Now, next step is to add some semantics to this p2p network, so, I’ll be working on NLTK (NLP, Natural Language Toolkit) for two weeks.

PS: Twisted GUI integration easier then cli (command line interface). Strange, isn’t it?