Archives du tag : tips

quelques notes sur le développement d’applications iPhone

Voici quelques notes prises lors de mon auto-apprentissage sur le développement d’applications iphone. En effet, étant du genre « c’est quoi déjà? », j’ai regroupé quelques informations dans cet article afin de pouvoir centraliser certaines informations que j’ai trouvées pertinentes… En espérant … Lire la suite

08. mai 2010 par Saad Tazi
Catégories: programmation | Tags: , | Laisser un commentaire

Paging, number of items per page and offset

page: X nb_per_page: Y => OFFSET = (X-1)*Y =>OFFSET = (page-1)*nb_per_page Easy, no?

27. août 2009 par Saad Tazi
Catégories: programmation, tips | Tags: , | 2 commentaires

geocoding, latitude, longitude and distance

from http://code.google.com/intl/fr-FR/apis/maps/articles/phpsqlsearch.html: Here’s the SQL statement that will find the closest 20 locations that are within a radius of 25 miles to the 37, -122 coordinate. It calculates the distance based on the latitude/longitude of that row and the target latitude/longitude, … Lire la suite

13. mai 2009 par saadtazi
Catégories: programmation | Tags: , , | Laisser un commentaire