September 2009
2 posts
2 tags
A Great Article Series on Agavi
Vikram Vaswani has written a great article series on Agavi. The five-part series starts off with the basic but in the end goes quite deep into building a multi presentational layer web application. Go read it on the IBM developerWorks! Now!
Part 1: Open a whole new world with Agavi
Part 2: Add forms and database support with Agavi and Doctrine
Part 3: Add authentication and administrative...
Propel Developers' Held a Meeting
Propel developers held an IRC meeting last night discussing the projects future. Amazingly many showed up and the discussion was active and fruitful.
Read the log at Propel Wiki.
March 2009
3 posts
1 tag
Say It!
Disqus Comments
Integrating Disqus commenting system to my Tumblr blog was ridiculously easy. Just have to figure out why the comment form completely breaks my design :)
2 tags
Be Careful with PHP's version_compare
Be Careful with PHP’s version_compare
var_dump(version_compare("5.2.8-0.dotdeb.1", "5.2.8", "<="));
Expected result: bool(true)
Actual result: bool(false)
The moral of the story: use < or >.
2 tags
Installing a Project-local Propel
Installing a Project-local Propel
Installing Propel is often seen as a difficult task. Official installion instructions recommend installing via Pear and say more initial work is requireq to install it manually. I usually advice not to use global Pear installations but install everything per project because it gives you better control and you are able to use different versions of libraries for...
February 2009
2 posts
2 tags
Agavi 1.0.0 Beta 8 Includes a Critical Security...
Agavi 1.0.0 Beta 8 Includes a Critical Security Fix
A new Agavi 1.0.0 Beta 8 was released late yesterday (European time). As usual, the new version contains several improvements and bug fixes but also a fix to a critical cross-site scripting vulnerability described in http://trac.agavi.org/ticket/1019. The vulnerability actually affects, as far as we know, only Internet Explorer 6 and 7 which...
2 tags
Agavi Tip: Automatic Output of Validation Errors
Agavi Tip: Automatic Output of Validation Errors
I decided today to stop printing my validation error messages manually in the template. I knew that Form Population Filter (one of Agavi’s many excellent features also referred to as FPF) could be used to inject error messages into the HTML form next to erroneous fields but I want my error messages above the form. Once again David was there...
January 2009
5 posts
2 tags
Running IE6, IE7 and IE8 Virtually
Running IE6, IE7 and IE8 Virtually
Now, this is not easy for me to admit but I just learned about an awesome Windows application by Microsoft.. from a mac user :)
Microsoft Virtual PC 2007 SP1 & Internet Explorer VPC Images
I cannot believe this has been under my radar all this time. Finally I can easily have different windows/IE setups. The software is free (yes, I found it hard to...
1 tag
Agavi 1.0.0 beta 7 released!
Agavi 1.0.0 Beta 7
Out of many changes there are two (or actually three) I want to emphasise because they may be backwards compatibility breaks for someone.
Default View Security Fixes
Two separate changes have been made to action’s default view handling to ensure strict security.
To make sure a developer doesn’t use unvalidated input data by mistake global unvalidated request...
2 tags
Agavi Tip: Validation Gotchas
Agavi Validation Gotchas
Agavi’s input validation system is extremely versatile and even people with long history with Agavi - me for example - sometimes struggle to get their head around it.
So I decided to put down a few gotchas. Here goes…
Validators Can Be Grouped
You can use AgaviAndValidator, AgaviOrValidator and AgaviXorValidator to group several...
2 tags
Agavi Tip: Checking Validation Results
Agavi Tip: Checking Validation Results
Normally when an input validator fails you’ll just want to show the form again and let FormPopulationFilter do its magic (you do know you can it have re-populate the form and inject error messages into the form, don’t you?-). But occasionally you want to decide the next move based on what validator failed. With Agavi 1.0 getting validation...
3 tags
November 2008
9 posts
3 tags
Agavi 1.0.0 Beta 6
Agavi 1.0.0 Beta 6 - Even More Secure
Default: Strict Validation ALWAYS
Agavi has a very special input validation system which, by default, will not let your application use any unvalidated input data. And this doesn’t mean only POST or GET parameters in HTTP world but also cookies and headers. Remember, those too are user input and must be considered insecure.
This strict validation...
2 tags
Kübler-Ross Model
Five Steps to Agile Development
Denial
Anger
Bargaining
Depression
Acceptance
Elisabeth Kübler-Ross’ Five Stages of Grief describes how people handle grief and tragedy, especially when diagnosed with a terminal illness. Apparently these also apply to agile development and user experience practice :D
Originally blogged/linked by http://agileweb.org/.
2 tags
Happy Birthday to Me
28 (0x1c) years today.
1 tag
How to Enable Syntax Highlighting in Tumblr
How to Enable Syntax Highlighting in Tumblr
It’s alwasy nicer to read code snippets with a proper syntax highlighting but unfortunately Tumblr, although used by many code monkeys, doesn’t support this. It is however pretty simple to add syntax highlighting to Tumblr. All you need is a Javascript library (you have several to choose from) and a bit of Tumblr template editing. You of...
2 tags
ADT Agavi Debug Tools →
I’ve released a first public version of a debug toolbar for Agavi. It supports traditional HTML output but you can also use it with FirePHP - extremely helpful when developing AJAX stuff with Agavi. Check it out at http://adt.projectbin.org/.
1 tag
Hans explains what is wrong with PHP →
(via wombert)
I just had to reblog this for two reasons - I wanted to learn how rebloging works with Tumblr AND BECAUSE HE IS SO RIGHT…
1 tag
http://www.camilla.fi/ →
Just finished upgrading my wife’s site. The site is of course built with Agavi :) English translation is almost ready but we decided to release the site without it for now.
2 tags
Testblr
First Post
I, once again, started bloging. Let’s try how fast I start hating this blogging solution… ;)