Tag Archives: TurboGears

TurboGears and AJAX

Many beginner web developers ask questions like “how do i do something without refreshing page?” or “how can i load another page in my page?” etc. The answer is AJAX. AJAX stands for “Asynchronous JavaScript and XML”. With AJAX, you … Continue reading

Posted in AJAX, JavaScript, jQuery, TurboGears | Tagged , , , , , | Leave a comment

Querying The Models

If you remember the post that we created the models in, you will also remember that TurboGears uses SQLAlchemy for the model part of MVC. Now, we are going to do some practice on querying the models. In the meanwhile, … Continue reading

Posted in Python, SQLAlchemy, TurboGears | Tagged , , , , , | Leave a comment

A Simple Project Management Tool With TurboGears – Templates

We have created our models, created our controller actions and forms. Now we are going to set up our templates. Let’s take a look at the controller action “new_project”: @expose(‘ideas.templates.new_project’) def new_project(self): “”” Displays the project form. “”” return dict(project_form=project_form) … Continue reading

Posted in Mako, Python, Templates, TurboGears | Tagged , , , , , , | 1 Comment

A Simple Project Management Tool With TurboGears – Setting Up the Forms

In the previous post, we have created our Project and Task models. Now we have to create our forms. It is very easy to create forms with TurboGears. In this example we are going to use ToscaWidgets 1 however keep … Continue reading

Posted in Python, ToscaWidgets, TurboGears | Tagged , , , , | Leave a comment

A Simple Project Management Tool With TurboGears – Setting Up the Models

I want you to love TurboGears, understand how to use TurboGears and how to become fully productive with it. For example, I can develop a fully fledged application that would take 3 weeks with something else in 1-1.5 weeks with … Continue reading

Posted in Python, SQLAlchemy, TurboGears | Tagged , , , , , , | 2 Comments

First Steps With TurboGears

Now that you have learnt what is TurboGears and how to install it, you want to get your hands dirty with it. This is really nice. I’m glad you’ve decided to do that. You won’t regret this decision. TurboGears is … Continue reading

Posted in Python, TurboGears | Tagged , | 3 Comments

Let’s Install TurboGears

In order to install TurboGears we need Python setuptools and in order to create an isolated environment we need virtualenv package. ¬†Why an isolated environment? With a virtual environment we don’t need to think about our packages clashing. Install requirements: … Continue reading

Posted in Python, TurboGears | Tagged , , , , , , , | 13 Comments