Latest Experiences in Linux

While the Python web service running on Werkzeug has been performing fantastically for development purposes someone has managed to crash the server a few times since I've made it publicly available. I'm not entirely sure if this is an issue* with Werkzeug or my code. I use the term "issue" loosely since the approach I'm using simply isn't meant for a production environment and I should be using an actual web server like Apache. Still, since this kind of problem could arise regardless I decided to try to see what tools are available to diagnose the issue....

MVC Service Based Web Applications - Part V - Master Pages and Multi-lingual Support

While our view loading system has certainly come a long way since Phase II it still lacks a very important capability to any layout system. Currently the default.htm file sitting at the root of the static site is the only page that has a work space available to nest our views. Consider for a moment an application with a section "About Us" with a table of contents listed in a side bar. We could create the sidebar in the default page and only have it display when the user navigates to the About Us section but as the number of sections and sub-sections grows this solution would prove to be impractical. Ultimately this side bar code would need to be duplicated for each view that the table of contents linked to. In this phase of the project we'll be writing up the necessary functionality to create master pages with their own work spaces while still supporting our hash tag navigation. Along the way we'll also be adding more multi-lingual support....

Web Services in Python - Part III - String Resources and Some More Web Methods

For this phase of the project we'll be altering the way we pass error messages to the client. We'll still be using our ClientException class but rather than storing the strings directly in our scripts we're going to create a strings resource file and access each one using an alias. This will not only allow us to reuse duplicate error messages should the need arise but bring us one step closer to multi-lingual support in our application. Let's take a look at the resource manager....