Thursday, September 14, 2006

Green Green Episode 13 Uncensored Mp4

GOOGLE API - Google Maps Some additional

I just discovered two new features offered by version 2 of the Google Maps API, geotagging from a postal address and boxes of information among multiple tabs.

Geolocation from a mailing address

I had already proposed a solution to find the location a place from its mailing address in one of the first posts of this blog. The two potential problems with the method described was:
  1. the obligation to separate each component of the address (street, city and country)
  2. using a free service provided continuity
These two problems are solved thanks to the Google Geocoder Maps.

One of the easiest ways to get the coordinates of an address is to send an HTTP request with the following format:
 http://maps.google.com/maps/geo?q=adresse+recherchee&output = csv & key = abcdefg 
Where:
  • q = : enter the desired address in URL format. Example: square + concord + paris + France
  • output = : response format. It may be mentioned xml, kml, json or csv if required. Csv format is the easiest to treat because it returns only four numbers separated by commas in income.
  • key =: key Google Maps
  • your
As indicated, the CSV returns a response in the form of four numbers corresponding to the response status (200 if all goes well), the zoom level, latitude and longitude.

Several tabs in the box details

I presented how quickly add information bubble on the map using GoogleMaps marker.openInfoWindowHtml (bubble); .
To add a dialog box with several tab just use marker.openInfoWindowTabsHtml (Infotab) having previously defined Infotab like this:
  Infotab var = [
new GInfoWindowTab ("Title Tab 1", "Content tab 1"), new
GInfoWindowTab ("Title Tab 2", "Content Tab 2")
]

Sunday, September 10, 2006

Prosti By Aubrey Miles

AJAX - My vacation photos with LightBox

As promised during the presentation of the "Smooth Slideshox " I'll have a second Javascript library for displaying photographs. Library LightBox is increasingly used on the Web. It has the great advantage of a photo enlarge nicely without having to worry about navigation. The library relies on the couple prototype.js / scriptaculous.


How to install LightBox
The installation and use of the library LightBox in a Lotus Domino is similar to other libraries already presented on this blog:
  1. Download the package on http://www.huddletogether.com/projects/lightbox2/
  2. Unzip the ZIP file on the hard disk
  3. Add the prototype.js file, scriptaculous.js, and effect.js lightbox.js lightbox.css and shared resources in the Notes database files
  4. Add close.gif , loading.gif, blank.gif resources in shared images. You can also add other images presented, but it will not be needed in the example described.
How to use the lightbox library
Since the structural element to display images LightBox (mask or page), enter it as "content as HTML"
  "\u0026lt;link rel = \\" stylesheet \\ " 
type = \\ "text / css \\" href = \\ "lightbox.css \\"
media = \\ "screen \\" title = \\ "Normal \\" />
\u0026lt;script src = \\ "script / prototype.js \\ "type = \\" text / javascript \\ ">
\u0026lt;/ script> \u0026lt;script
src=\\"script/scriptaculous.js\\" type=\\"text/javascript\\">
\u0026lt;/ script> ;
\u0026lt;script src=\\"script/lightbox.js\\" type=\\"text/javascript\\">
\u0026lt;/ script> "Add
also on the event" OnLoad ":
  initLightbox ( ) or mask  
Your page is ready.

To report an image or photo to use lightbox must use the following syntax:
  \u0026lt;a href="path_de_l_image_agrandie" rel="lightbox"> 
\u0026lt;img src = "path_de_l_imagette" />
\u0026lt;/ a>
A mini-photo gallery on Lotus Domino download
For the Occasion I created a mini photo gallery under Lotus Notes download. Do not expect a revolution. This application was that the sole purpose of presenting the integration LightBox in a Notes database. By cons, to please Julie, 3 photos are provided as an example ... in color.

Download photo gallery lightbox

Sunday, September 3, 2006

Hair Highlights 2010 Images

AJAX - Tag Clouds

Once is not custom, I benefited from the work of others! Indeed I was looking how to set up a cloud of tags in a Lotus Notes application. Before you start developing what I wanted and I was there surprised to quickly find three different approaches to implement this feature Web 2.0 with Lotus Domino. This is even more interesting that these three methods each use a different approach typical of the changing development of Domino applications for the Web, formulated with JavaScript, LotusScript and LotusScript with DXL.

What is a tag cloud?

A tag cloud is represented as a list of words represented in a size proportional to their importance. This importance is mainly influenced by the number of occurrences of the word. We find these
aujourd'hi tag clouds everywhere on applications known as 2.0 delicious, Flickr or Technorati .

These tag clouds are also used in the application Nébuloscope Jean Veronis I can only recommend reading the blog Language Technologies.


This form of representation allows the visualization replace categorized views and interfaces easily with the restriction options embedded views.


Three approaches to implementation of the solution

As mentioned in the introduction using the three methods presented each is an original showing very different approaches to application development Lotus Domino.

Formula Approach / Javascript
Ferdy Christante proposes to create a Javascript array from a view presented in HTML and a little formula. Javascript loads after representing the tag cloud on the client.
This approach is very similar to many examples I have presented here.

The advantage of this method is to save the load on the server side. Only a view is called.

Unfortunately this method also these drawbacks:
  • The client must support JavaScript. Although quasimeent all modern web browsers support the JavaScript can be disabled. Moreover, even if the javascript can run client side must still be careful with the volume of data to process.
  • While this may seem high, this method removes the main attraction of the tag cloud to the webmaster. Indeed, one of the side effects of tag cloud is indexing web pages from search engines. Links pointing to a cloud not only on sets of web pages but also has a consistent name, tag, link to it. Outside in the case of treatment Javascript, search engines do not see this cloud.
  • Finally, for those who still want to develop Web-enabled applications and Notes Client, it is not possible to use this method on the thick client.

Traditional Approach via LotusScript
Adrian Thomas uses a more traditional using a LotusScript agent . The tag cloud is calculated in real time by an agent based on a LotusScript NotesViewNavigator and returns the result via print. The server is asked to call each of the cloud. By cons, it generates a Web page that can be properly indexed with search engines. Writ cons of the first methods are the advantages of the latter and vice versa.

If forced to choose a solution between these two methods I favor the first for an Intranet, with a total hardware and software mastered, without indexing with search engines and especially where the key is the speed of response from the server. For cons, the second approach is preferable for an application-oriented service.


Approach LotusScript / DXL
Christian Mueller proposes a third approach can meet all the needs expressed by using LotusScript with DXL . The calculation of the tag cloud based on exactly the same method as that proposed via LotusScript agent by Adrian Thomas. The difference is that it does not directly send the result to the browser but created a new mask via DXL containing the cloud. The update of this mask can then be recalculated only when a document is created, changed or deleted, when the cloud is short changed.

So not only the server is not requested at the call of this page, the cloud is presented in HTML form for engines but more research is easily presentable to users of Lotus Notes clients.

Is it ideal? Compared to the constraints outlined above, is undoubtedly the best solution. There remains the problem of integration and application maintenance. The number of developers using Lotus Notes DXL and especially mastering is still rare (at least I do not yet belong even if I take regular courses on the blog Yogi ).

Acupuncturist Salary Statistics 2010

SITE - English Version

The few articles in recent days is not incurred due to lack of inspiration or worse by a lack of motivation. I took the end of August to upload a lite version of this blog in English and simultaneously test the beta version of the new version of Blogger.