Common Zend_Filter_Input problems

Tags:

Originally posted in my old blog at My Opera Zend_Filter_Input, while a very useful component of the Zend Framwork, has some oddities that can cause a lot of headache if you can't figure it out right away. Missing fields show up as valid even if they have validators that won't let empty values through NULL values for existing fields to …

Mozilla Prism: A fancy name for a technology as old as the browser

Tags:

Originally posted in my old blog at My Opera Mozilla recently introduced Prism, which takes Widgetize to a whole new level. Opera's Widgetize will turn your blog or RSS feed into a widget with some custom skins and stuff. What Prism does is, it takes any website and turns that into a self-contained little browser. While having GMail or such …

Simple and efficient spam prevention techniques

Tags:

Originally posted in my old blog at My Opera I've previously outlined some alternative methods for CAPTCHA/spambot prevention in Different kinds of CAPTCHA. Josh Clark recently posted Seven Habits of Highly Effective Spambot Hunters which gives even more good methods for preventing spam. But with spambots gaining more and more features, what can we do to effectively prevent them, while …

Handling Ajax requests in the Zend Framework

Tags:

Originally posted in my old blog at My Opera Doing Ajax is quite simple these days with the various JavaScript libraries offering easy ways to do it. But how do you do it on the server side, without complicating things too much? Typically, in addition to the Ajax response, you need a traditional page response to a request as well …

What kind of software is needed at a LAN party?

Tags:

Originally posted in my old blog at My Opera So, the Solid Fireparty is over now and I'm back home. Something like 1200 kilometers driven. I have also posted some photos to the photo gallery and more can be found at http://fireparty.org/lanikuvat/, so check it out. Getting back on the usual topics, let's look at what kind of software is …

Going to Helsinki

Tags:

Originally posted in my old blog at My Opera I'm going to Helsinki today, to the Solid Fireparty LAN, to help with the event organization and to do other LAN-party'ish things, whatever they are. I might not post anything from the usual topics for the rest of this week, but stay tuned for photos from the trip (Oulu to Helsinki …

LAN party place reservation

Tags:

Originally posted in my old blog at My Opera Let's take a look at one of my biggest PHP projects so far: Reservinator 1.0, or in other words, a very advanced place reservation system for LAN parties. The page is in finnish, but the post is not, so read on! If you've even been to a LAN party, you might've …

How to make a modal AJAX login box with Mootools

Tags:

Originally posted in my old blog at My Opera Sometimes I've been asked to do a modal AJAX login box for a website. What is that you ask? It's basically what you can do in JavaScript with alert() but with different functionality: If you do alert('foo'), you get a box with text “foo” that you must close before doing anything …

Lively Kernel – Another waste of time?

Tags:

Originally posted in my old blog at My Opera Sun Labs recently introduced Lively Kernel, which is an attempt to treat web applications in a similar way as desktop applications are programming-wise. The Lively Kernel places a special emphasis on treating web applications as real applications, as opposed to the document-oriented nature of most web applications today. In general, we …

Blocking ads on websites is bad behavior

Tags:

Originally posted in my old blog at My Opera A lot of people really dislike any ads on a website. This shows in browsers too: Opera added a content blocker and Firefox has AdBlock and probably at least two other plugins for getting rid of ads. Some people even use separate ad blocking proxy tools such as Proxomitron and IP …