When no longer working alone for all developers comes time to find guidance in the writing of code. Protocols and standards that make it possible to "read" easily and intervene (more easily) in the code of others.
When we are working on a project more programmers, often of different languages, you must find a common form of writing, internal and external documentation standards in the code. In my work I am usually to interact with:
- Objet-C, C / C + +
- PHP
- HTML
- JavaScript
- Actionscript
- CSS
Continued ...
Verify the existence of an element in the DOM
There will ever need to check the existence of an element of the DOM. With jQuery could be spontaneously try:
Continued ...
In Objective-C you can extend a class given in two ways: by running a classic subclassing (see also inheritance) or using the so-called categories .
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 (for a given moment all classes of one type behave like new) .
Continued ...
Let me show you how 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 to a site built in WordPress , developed in a few hours for an event.
Continued ...
When building an Ajax Gateway, ie a file that is invoked by the object XmlHTTPRequest JavaScript, you can inadvertently create a tunnel to unwanted intrusion. Being in fact a file like the others, located on our server is reachable from the address bar of your browser.
Continued ...
A little 'time ago I reported a version of a Commodore 64 emulator written in Adobe ActionScript 3.0, now in a new version :
Continued ...
In Javascript you can write functions with variable arguments, that is, functions that do not necessarily accept a fixed number of inputs. For example, you can write functions like this:
Continued ...
To find the coordinates of an address or latitude and longitude, we can use this simple and useful hacks. Open the site Google Maps . Once on the map looking for the address you want (for example via Cortese 10, Modena).
Continued ...
It was released right now (thanks to alert the author Michael JI Jackson ) release 3.0 beta Shadowbox.js . In addition to the new site design here is the most important changes prior to this release:
Continued ...
I had already talked about how to implement the method shuffle () in Javascript and Actionscript . I realized, tuttaavia, not pointing out that it is able to extend Actionscript, Javascript in the same way, its object Array :
Continued ...
Latest Comments
Mark : @ Mark: Thanks for the answer. For example, if you have a code to save / use the folder ...
Mark : Thanks for the answer. For example, if you have a code to save / use the folder ...
Giovambattista Fazioli : @ Mark: in principle, absolutely, a lot depends on how and what to download. La. ..
Mark : Hello, good guide! I wanted to ask, you can use the same code to run a sql database? Instead of ...
Joseph : Hi I wanted to ask you how you can do in the post I uploaded a gallery of 50 images, for example, ...