Django, Framework
I have a friend and fellow member of the Python West Midlands group. Whenever, someone mentions Django, he asks the person “but is it stable?”. This has been repeated so much that is has become a local in-joke. However, lets take the question seriously.
To explore this further, we need to ask what does stable mean? I.e. can we replace the word “stable” with something else to provide some more meaningful questions:
- Can Django handle traffic loads?
- Is Django actively maintained, i.e. are bugs being fixed?
- Will the Django API evolve in the most backwards compatible way possible?
..
Is Django maintained?
The next question is whether Django is actively maintained. One simplistic measure is to look at the bug database and see what is going on. In what follows I use “ticket” in the broadest sense, i.e. not just a confirmed code error, but also enhancement requests, invalid bugs and so on.
…
Full article: http://commandline.org.uk
License: Creative Commons
Indexed in July 2008
Related Info Web
Django, Elements of a Web, Framework
my motivation
Although I’ve used many Web based applications that employ tagging, I’ve yet to create an application of my own with this feature. But now, I have two potential projects on the horizon that could benefit from tagging, and I’m thinking about how to best implement this, both in the database and user interface layers.
..
I also see this as an opportunity to further explore Django, a rapid Web development framework that has captured my imagination, even though I have barely scratched the surface of its capabilities. I have also been sipping on the REST Kool-Aid recently, and would therefore also like to try my hand at implementing tagging in Django RESTfully..
..
let’s get this party started
After designing the data model layer, I feel like I have enough basic understanding of the problem space to plunge into Django. At this point, I’ll assume you know Python, have some basic familiarity with Django (take a few minutes and look at the Django tutorial) and have Django installed as well as a locally running MySQL server instance. Basically, this section will be a condensed version of part one of the Django tutorial, customized for this particular project.
…
Full article: http://www.stonemind.net
License: Creative Commons Attribution - ShareAlike 2.5
Indexed in June 2008
Related Info Web
Custom Programming, Framework, Ruby on Rails, Web Articles for Dummies
Within the last few years Ruby on Rails (RoR or just simply Rails) has gained great popularity in the way people develop web applications. It offers web developers to make an architecturally clean web application at a relatively faster time, compared to many existing technologies known. By clean architecture, I mean an application that you could painlessly maintain, change, and extend to meet the objectives of why it’s built, even perhaps by someone who initially didn’t develop it..
..
And thus enters Ruby on Rails. Rails is developed to meet these requirements, it is expected to help developers build a flexible, scalable, and easy-to-maintain web application in a rapid way. Rails achieves this because it follows certain software design principles, which are:
- MVC: Models - Views - Controllers
- Conventions over Configurations
- DRY: Don’t Repeat Yourself
…
Full article: http://www.slepi.net
License: Creative Commons Attribution 3.0 Unported
Indexed in June 2008
Related Info Web
Django, Framework
Coming to Django from the PHP-world, running a local development server (as opposed to Apache or a full LAMP-machine set up for just testing) and doing real offline development is something that takes a little bit of learning. After two years of active development with Django, I’d like to share some of my learnings.
Why Offline?
There are many benefits for developing your site someplace other than the same server which powers the site. I’m sure most of us do development this way.
..
Prepare Your Site — Thoroughly
I’ve been doing web development for nearly ten years now. Everything I do goes trough dedicated testing servers and version control. I’ve always thought my sites to be well prepared for offline development. Then, in spring 2007, I had some problems switching ISPs and I was cut off from web for two weeks. (What a long two weeks they were
Turns out this was a very good thing since I discovered tons of problems while trying to work really offline.
…
Full article: http://www.unessa.net
License: Creative Commons Attribution 2.5
Indexed in June 2008
Related Info Web
Ajax, Framework
Currently, I’m doing a project in CakePHP.
There’s lots to say about cake, here just a quick note, for myself or for anyone in case you are running into the same problem.
Situation: you are using the Ajax helper, which contains a method isAjax() - returns true if the request was an Ajax request.
Typically, you use this method inside a view, to conditionally render content for regular/ajax views. Example:
...
if (! $ajax->isAjax()) {
// render general page stuff
}
// render stuff for both regular- and ajax view
...
…
Full article: http://squio.nl/blog/2008/02/14/cakephp-isajax-weirdness/
License: Creative Commons
Indexed in June 2008
Related Info Web
Custom Programming, Framework
..
After speaking with any number of users about getting started with a framework, I find many do not have an advanced understanding of the corner stone of a current day web application framework: the Model-View-Controller Design Pattern. So let’s get over that hill right now, and before we start looking at PHP!
As a bit of background, consider the traditional and still popular approach to writing an application in PHP. Usually you take an approach called the Page Controller. Each HTML page of your application may have it’s own dedicated PHP file - often it ends up as many HTML pages per PHP file, but only if those pages are sufficiently similar (e.g. forms and form processing are typical) that the relationship is formed out of the need to re-use source code in the same file..
..
To be clear, the MVC is common as dirt. It is widely used in the Zend Framework, Solar, Symfony, Ruby on Rails, merb, Django, Spring, and countless other frameworks. It is an unescapable concept when adopting a framework for web applications in almost any language.
…
Full article: http://blog.astrumfutura.com
License: Creative Commons
Indexed in June 2008
Related Info Web
Framework, Ruby on Rails
About Rails session stores
Sessions allow you to store objects in memory between requests. This is useful for objects that are not yet ready to be persisted, such as a Signup object constructed in a multi-paged process, or objects that don’t change much and are needed all the time, such as a User object for a system that requires login..
Rails has several different methods of storing the session data. They are:
- PStore (default in Rails 1.x)
- ..
Switching from one type of session store to another
For various reasons, you may find yourself wanting to switch the type of session store you are using. It seems simple enough, just update config.action_controller.session_store in your environment, redeploy and you’re done! Right? Well, there’s a problem ..
…
Full article: http://rails.learnhub.com
License: Creative Commons Attribution-Share Alike 3.0 Unported
Indexed in June 2008
Related Info Web
Framework, Free for Web
I may be tied up (and very close to completing!) a lot of new work that sought me out in late February and has me working long hours without much time to maintain contact with the community, but it’s hard to miss the release of the Zend Framework 1.5!
Ever since I started tinkering with the Zend Framework back in 2006 I’ve pretty much converted to using it in preference to anything else. It’s approach in being a PHP5 decoupled component library set it apart so far from everything else in PHP and it was simply easier to work with when you could extend classes to introduce customised behaviour. Of course back then it was still a struggle to keep track of the shifting sands as features evolved, new ones were added, and the integrated whole slowly gained cohesion. More than one custom feature met its death as the features in subsequent versions built up.
..
There are a few strands existing to better the framework judging from the muted whispers infrequently found on the web.
1. Developer Tooling/Support
2. Supporting Emerging Technologies
3. Playing to PHP’s Strengths
All three to one degree or another are being worked on.
…
Full article: http://blog.astrumfutura.com
License: Creative Commons License
Indexed in May 2008
Related Info Web
Framework, Web Client, Web Performance
As part of my Mootools lecture at Codecamp I showed a brief speed comparison between the most used Javascript Frameworks running in the major browsers. Now as the Mootools team has extended their performance test tool (slickspeed) it is time to revise my benchmarks and extend them over more browser/platforms.
Test results (Lower is better):
..
You can check the actual numbers (in ms) and the full browsers information in the table bellow:
…
Full article: http://blog.creonfx.com
License: Creative Commons Attribution-Share Alike
Indexed in May 2008
Related Info Web
Framework, Free for Web, Ruby on Rails, Tools
..
In recent weeks, I started seeing several posts about using NetBeans for RoR development, and in particular, this post persuaded me to download it and try it. I just started using the NetBeans Ruby IDE this week, and I may be just about ready to convert for good.
NetBeans, UI seems to be pretty logically organized, and its various panels somehow seem better integrated than similar panels (or “views”) in Eclipse. Compared with the functionality of RadRails, NetBeans Ruby/RoR features seem to be more mature, more robust, better organized and easier to use..
…
Full article: http://www.stonemind.net
License: Creative Commons Attribution - ShareAlike 2.5
Indexed in May 2008
Related Info Web