December 3rd, 2011 - kaore
Here is a little function that can be used to turn urls found in text on a page into clickable links. I assembled it and tweaked it taking bits and pieces from several forums.
See it running here
/* doLinks script */
function linkify(inputText, options) {
this.options = {linkClass: ‘url’, targetBlank: true};
this.options …
Posted in Uncategorized | 4 comments »
July 8th, 2011 - kaore
In this article we’ll use the google maps v3 API to show two draggable markers on a map linked with a line. As the markers are dragged, we want the line position to be updated so that it appears to always be linked and we also want to an updated indicator displaying the distance …
Tags: Google Maps, javascript, jQuery
Posted in Uncategorized | 1 comment »
October 19th, 2010 - kaore
Maxmind provides a useful database and API for server side IP Geolocation. It is useful when you don’t want your server to hang on external services each time fetching a location from an IP address is needed. This posts goes through the installation process of the database with a PHP extension on an Ubuntu …
Tags: Geolocation, php, ubuntu
Posted in Geolocation | 2 comments »
May 24th, 2010 - kaore
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 …
Tags: Geolocation, Google Maps, jQuery
Posted in Geolocation | 101 comments »
May 12th, 2010 - kaore
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 …
Tags: php, sfguard, Symfony
Posted in Symfony | 7 comments »
April 16th, 2010 - kaore
Comment mettre en place une interface unique pour insérer plusieurs entrées liées par des relations de un à plusieurs…
J’ai cherché récemment un moyen de construire un formulaire qui permettrait la saisie de données (édition ou ajout de nouvelles données) en de multiples objets liés. Il s’avère que la façon du faire dans Symfony …
Posted in Uncategorized @fr | 15 comments »
April 16th, 2010 - kaore
Salut, soyez les bienvenus sur le blog Cibul Tech! Le but de ce blog sera de publier des articles sur ce qui nous semble intéressants de mentionner alors que nous avançons en trébuchant dans le développement d’une application web. Personnellement, je suis relativement nouveau dans le développement PHP, javascript.. et je n’ai commencé que …
Posted in Uncategorized @fr | 1 comment »
April 13th, 2010 - kaore
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 …
Tags: jQuery, php, Symfony
Posted in Symfony | 36 comments »
April 12th, 2010 - kaore
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 …
Posted in Uncategorized | No comments »