Cibul Tech Blog - Fiddling with PHP and things

Geocode with Google Maps API v3

The purpose of this post is to show how to implement a simple address search tool with auto-completion using Google’s Google Maps API v3 with both client side geocoding and reverse geocoding.
The search menu will propose to search for addresses in two ways: the first will be direct address typing with suggestions for auto-completion and [...]

Posted in Uncategorized | 4 comments »

A really simple sfGuard with user profile setup

When you start trying to see how something works, it’s always nice to see the thing in action and try it out in a simple environment where nothing else can interfere. In the case of this post, the subject is the sfGuard plugin and in particular how it is possible to use it together with [...]

Posted in Uncategorized | 4 comments »

A way to spread a form over multiple pages with symfony

In this post we’ll be using symfony 1.4, doctrine to make multiple page forms..
Symfony offers a practical way to create fully featured forms with validation, widgets and embedding mechanisms. But what about forms that are spread over a process of several pages? The solution here often used is to create as many forms as there [...]

Posted in Uncategorized | 16 comments »

Embedded forms with symfony 1.4 and jQuery

How to implement a single interface to insert multiple entries linked by one-to-many relations…
I’ve been looking recently for a way to build a form that would allow the input of data (edition or adding new data) into multiple related objects. Turns out the way to do this in symfony is to use embedded forms and [...]

Posted in Uncategorized | 15 comments »

Cibul Tech: Fiddling with PHP

Hi, welcome to the Cibul Tech blog! The purpose of this blog will be to post notes about whatever we think is worthwhile mentioning as we stumble upon them while we try to move forward with building web applications. Personnaly, I am fairly new to developping using PHP and javascript and I have only recently [...]

Posted in Uncategorized | No comments »