When you are not working alone for most all developers comes time to find guidance in the writing of the code. Protocols and standards to allow "read" easily and intervene (more easily) in the code of others.
When we work on a project more programmers, often of different languages, you must find a common form of writing, in the standard internal and external documentation to the code. In my work I am normally interact with:
- Objetive-C, C / C + +
Verify the existence of an element in the DOM
You will've had to verify the existence of an element of the DOM. With jQuery could be spontaneous try:
Note: there is also a third way in Objective-C indicated by the name of Posing we might call a mix of subclass (because it defines a new name) and Categories (because a given moment all classes of a type behave like the new) .
Let me demonstrate how it is possible to implement a simple slideshow of images with very few lines of code, using jQuery .
This technique can be implemented on any type of website, the important thing is to include the library jQuery . I used this technique for a site built in WordPress , developed in a few hours for an event.
When building a Gateway Ajax, that is, a file that is called by the object
To find the coordinates of an address or latitude and longitude, we can use this simple and useful hack. Open your site in Google Maps . Once on the map look for the address you would like (eg Via Cortese 10, Modena).