Articles Tagged 'Development'
I "revived" this article of mine wrote a little 'of years ago. I slightly revised, updating a little bit here and there, but I think it is still relevant and interesting.
INTRODUCTION
What is a development language? A computer, aka PC (Personal Computer), has a personal language. This language is called machine code, to mean that every machine, so any computer (PC compatible, Apple, Unix, etc ...), has a unique and proprietary. The programs that we see "run" on our PCs are mainly carried out by the mysterious object called a microprocessor. This is the heart, the intelligent module, each computer. In fact, only one application is not running but is supported by the microprocessor, so to speak, to what is called an operating system: a software layer supplied by the manufacturer of the machine (see, for example, the Apple Macintosh).
Continued ...
I guess I wonder why Adobe with a list of bugs growing!?. The bug I found, in CS3 Professional in Italian, is very annoying and dangerous. Eye to the following code:
1 2 3
| getRandRange ( min : uint , max : uint ) : uint { private function getRandRange (min: uint , max: uint ): uint { uint ( Math . floor ( Math . random ( ) * ( max - min + 1 ) ) + min ) ) ; return ( uint ( Math . floor ( Math . random () * (max - min + 1)) + min)); } |
After the automatic formatting:
1 2 3
| getRandRange ( min : uint , max : uint ) : uint { private function getRandRange (min: uint , max: uint ): uint { ( Math . floor ( Math . random ( ) * max - min + 1 ) + min ) ; return uint ( Math . floor ( Math . random () * max - min + 1) + min); } |
He removed the brackets in the calculation of max-min+1 ! Which, of course, no longer returns the correct value! . The bracket, in fact, is vital as it allows to multiply Math.random() for the entire result of the (max-min+1) . e poi, al risultato di questa moltiplicazione, viene sottratto (min+1) !! In the second case, after the code was "sformattato", Math.random() is multiplied by "only" to the max and then, the result of this multiplication is subtracted (min+1) ! I explained only for the sake of completeness ... but I think it was clear to everyone ...
Obviously at home Adobe really think that mathematics is an opinion!?
This is a bug of dangerous ... if the formatting codes bodied "upsets" the code, it becomes a serious problem going to put everything back in place! I hope that Adobe may provide a patch as soon as possible! So WARNING! Let me know if it does to you, to your version ...
Continued ...
She was released the beta 0.6 component UMAP for Flash CS3 (Actionscript 3.0) - is also present in the package version for Flex. Among the news we see the adoption of OpenStreetMap as the default provider. Also added was an advanced manager Marker and a series of various optimizations.
Continued ...
Update: BlogBabel closed - all the services, widgets and plugins are no longer active
When you must "verify" a new technology, the best thing to do is find an application to write and to struggle to achieve it. This way you learn a lot in a short time. You have to have a goal, in short! I state that I have nothing to do with BlogBabel Italy. Some people may think that I work for them ...
Absolutely not! The reason why I chose to accomplish this is due to the fact that I had the code in Flash (Actionscript 3.0 latest release) and I wanted to see what was going on re-writing the application in AIR / HTML. And then, now, I am attached to this "smash" the ranking BlogBabel 
To achieve this "first" AIR application after numeose tests, I only used Dreamweaver. BlogBabel Rank totalemte is written in AIR / HTML. To install the runtime download Adobe AIR and click here .
Continued ...
"Once upon a time" a time when the word had no meaning Personal Computer. It was the time of the console, small gadgets that are connected to the TV, the precursors of the Playstation today. And really you could see in magazines of all colors: Intellivision, Atari , Philips, large machines - for the time - that guaranteed fun coupled with amazement. And here are the first journals, such as the yearbook of video games (pictured) in 1984. The ads, appealing for the time, showed a technology never seen before. There was the Colecovision, with its video game system, "a home console for video games on cartridges ColecoVision standards," the exceptional price of 485,000 lire.
Continued ...
Great news for AIR developers. It was finally released version 1.0 ! End of beta then! New SDK (vital for building in areas such as Aptana Studio , Eclipse , etc ...) and update extensions Dreamweawer and Flash CS3 Professional in Italian ! Until yesterday, in fact, it was not possible to develop an AIR application with Flash CS3 Profession in Italian. Now the new menu for creating RIA AIR is available and working! You can find all the updates (security fixes and extensions) directly on the site.
Another novelty is the official launch of Adobe Open Source , a new website that will track all the latest in open source, not just Adobe. This becomes, then, the point of reference for developers that will entice contributions with interesting demos, source code and more, such as support for open source projects Tamarin and BlazeDS .
Soon we will see how to develop a simple AIR application with Flash and Dreamweaver!
Continued ...
Mapstraction is a JavaScript library that acts as an intermediate layer to use the maps of the most popular systems available today. The idea is to provide a wrapper, an interface that can unify the code whatever, then the type of rendering engine maps that you want to use.
Are available on site demos and documentation . The library is downloadable for free. Supported in this release are the most famous engines 9: OpenStreetMap, Yahoo , Google , Microsoft , Map24, MultiMap, MapQuest, FreeEarth and OpenLayers.
Supports the creation of Point, Line and Polygon. You can insert your Image gallery overlay. Interesting support for geocoding of street addresses and directions of the brand! Net compatibility with feeds GeoRSS and KML .
From the examples of the code once you understand how useful a tool of this type. Each "Interface" ( Google , Microsoft , Yahoo , etc ...) it has its own set of APIs. Through Mapstraction , however, we can write a single block of code and let the end user the choice of provider to use. For example, when you initialize the library, the following line of code:
1 2
| / / Initialise the map with your choice of API new Mapstraction ( 'mapstraction' , 'google' ) ; var = new mapstraction Mapstraction ('mapstraction', 'google'); |
Determines the engine Google ! It is without saying that, I replaced the string 'google', immediately change the rendering engine of the maps!
1 2
| / / Initialise the map with your choice of API new Mapstraction ( 'mapstraction' , 'microsoft' ) ; var = new mapstraction Mapstraction ('mapstraction', 'microsoft'); |
Although the library is not really complete, can be integrated into a single framework all the features "spread" of the individual libraries. The rendering engine Microsoft, for example, allows display "as the crow flies." OpenStreetMap and Google maps have excellent management of the road, including the Italian ones. In short, for those who must face the development of an application with the use of maps and can not - just - to decide which technology to use for development, Mapstraction allows - in fact - to cut oneself, to resolve the dilemma by introducing, in fact, third actor, and in this way, give us the ability to change the rendering engine at any time. So good idea to follow and to use!
Continued ...
Here is yet another newly released Unobtrusive JavaScript library for image galleries and more. Lightview in 2.0.0_rc1 release , also added the functions to "open" Window with the content that goes beyond simple image: Flash movies, QuickTime , Form and IFRAME! Compared to the previous version (1.1.0 - which handles only images), then, this release candidate is enhanced features are also present in other libraries . . The tools required by Lighview to work very well known are the Prototype 1.6.0.2 and Scriptaculous 1.8.1 . Gliattributi library are used to manage the class and rel .
Interesting one aspect of this library is the extreme care with which the graphic appears.
Score: 9 - Home Lightview
Continued ...
I thought about how many "sketches" and case studies I have done for clients, so I decided to offer them, with their own category (Case Study), rather than let them "rot" in my HD. The customer, in fact, choose one of the n proposals, often that you do not expect and the others, that some believed to be correct, remain unknown zipped in HD! The proposed graphics for a Web site, for example, studies or simple logos or effects.
PERSONAL: CASE STUDIES AND-LEMENTI.COM
Some studies, made by me and STID = = , on the site E-lementi.com
For the gallery I used Shadowbox.js : use the Esc key to close the preview and cursor keys to move back and forth.
Continued ...
Some might say - and rightly so - enough! JavaScript libraries (Unobtrusive - not intrusive or in part) to manage images and galleries there are so many. Anyway here's the list, with pros and cons, the best I've tried.
Slimbox 1:41
Extremely minimal, 7K (version 1.41), requires mootools to work. As indicated on the home page is a real clone graph Lightbox , we will see below. Honestly, aside from the extreme compactness of the library does not own peculiar characteristics. On the same site, however, you can also find a script to generate run-time reflections ... you may want to limit this 
Rating: -6 - Slimbox Home, Home Reflection.js for MooTools
Lightbox2
One of the most known and simple. Manages images in this release are (so it does not work with QuickTime, Flash, or other). To operate, requires Prototype and Scriptaculous . Use the attribute rel to identify the links of images to be processed:
1
| "images/image-1.jpg" rel = "lightbox" title = "my caption" > image #1 < / a > < a href = "images/image-1.jpg" rel = "lightbox" title = "my caption"> image # 1 </ a > |
Like the other libraries that we shall see, supports the slideshow mode, enter any identifier in square brackets in a series of link / image:
1 2 3
| "images/image-1.jpg" rel = "lightbox[roadtrip]" > image #1 < / a > < a href = "images/image-1.jpg" rel = "lightbox [roadtrip]"> image # 1 </ a > "images/image-2.jpg" rel = "lightbox[roadtrip]" > image #2 < / a > < a href = "images/image-2.jpg" rel = "lightbox [roadtrip]"> image # 2 </ a > "images/image-3.jpg" rel = "lightbox[roadtrip]" > image #3 < / a > < a href = "images/image-3.jpg" rel = "lightbox [roadtrip]"> image # 3 </ a > |
Score: 6 - Top Lightbox2
LIGHTWINDOW 2.0
This is also quite common! After all how can you tell which one is used?
. However it is extremely comprehensive and versatile. On the site stands the request for donations for the purchase of a Mac ... and pressing a little invasive ... However, as above, but for its operation, requires the presence of Prototype and Scriptaculous . Unlike its predecessor, however, this allows you to view moltisiimi types of files: from the images, QuickTime movies, Flash movies, external HTML pages and PDF. ) altri obbligatori ( class e params - per impostare il comportamento della libreria). By contrast, uses various attributes, some optional ( author, caption and title ) other mandatory ( class and params - to set the behavior of the library). For example, to view a gallery or slideshow using the attribute rel :
1 2 3
| "gallery/0-sushi.jpg" class = "lightwindow" rel = "[Sushi]" title = "Left Behind" caption = "Look's super tasty!" author = "Unknown" > image #1 < / a > < a href = "gallery/0-sushi.jpg" class = "lightwindow" rel = "[Sushi]" title = "Left Behind" caption = "Look's super tasty!" author = "Unknown"> image # 1 </ a > "gallery/1-sushi.jpg" class = "lightwindow" rel = "[Sushi]" title = "Beware of warewolves..." caption = "I shouldn't be doing this when I am hungry" author = "Unknown" > image #2 < / a > < a href = "gallery/1-sushi.jpg" class = "lightwindow" rel = "[Sushi]" title = "Beware of warewolves ..." caption = "I Should not Be doing this when i am hungry" author = "Unknown"> image # 2 </ a > "gallery/2-sushi.jpg" class = "lightwindow" rel = "[Sushi]" title = "That was good!" caption = "Take that sushi!" author = "Unknown" > image #3 < / a > < a href = "gallery/2-sushi.jpg" class = "lightwindow" rel = "[Sushi]" title = "That was good!" caption = "Take that sushi!" author = "Unknown"> image # 3 </ a > |
Score: 8 - Home LightWindow 2.0
ShadowBox 1.0B
Although the version 1.0 beta, this is perhaps the most complete library, both from the functional point of view is supported by the libraries. For its operation, in fact, you can choose from a variety of frameworks, with the file "adapter" specially manufactured and supplied by the author:
The visual effect (configurable via skin / css), then, unlike the others, is definitely more appealing. The attributes used are only rel where, in its internal space are all the other configuration parameters. For example, to create a gallery, just use:
1 2
| "beach.jpg" rel = "shadowbox[Vacation]" > The Beach < / a > < a href = "beach.jpg" rel = "shadowbox [Vacation]"> The Beach </ a > "pier.jpg" rel = "shadowbox[Vacation]" > The Pier < / a > < a href = "pier.jpg" rel = "shadowbox [Vacation]"> The Pier </ a > |
If you want to set some options ( see website for complete list ) simply use the following syntax:
1
| "myimage.jpg" rel = "shadowbox;options={overlayOpacity: 0.5, resize: false}" > My Image < / a > < a href = "myimage.jpg" rel = "shadowbox; options = {overlayOpacity: 0.5, resize: false}"> My Image </ a > |
On the Internet they can find other, such as JS Highslide . In fact, if you want to report some other library ... Anyway, personally, I prefer Shadowbox for simplicity, scalability and cross-framework.
Score: 9 - Top Shadowbox 1.0B
Continued ...
Latest Comments
Simon : It annoys disturbed again and use that space for these things ... however it does not work ...
Giovambattista Fazioli : @ Simon: what could be due to the syntax I used, specifically for PHP 5 +,...
Simon : I tried last night putting everything into functions.php, okay, jquery forms, and tabs jQueryUI them ...
Giovambattista Fazioli : @ Simon: I recommend cleaning to enter a code like that in ...
Simon : @ Giovambattista Fazioli: Thank you for your patience, it's all clear ... now I feel now, ...