Weitere ähnliche Inhalte Ähnlich wie Javascript l'assembleur du web ? Ähnlich wie Javascript l'assembleur du web ? (20) Kürzlich hochgeladen (20) Javascript l'assembleur du web ?2. <div id="footercontainer">
<div class="footercolumn">
<h2>Contact us</h2>
<p>
If you have any questions, write us at:
<span class="email">
<a href="mailto:info@agilitic.com">info@agilitic.com</a>
</span>
</p>
<p>
<img alt="Phone-icon" src="/images/phone-icon.png"/>
+32 496 21 33 79
</p>
</div>
<div class="footercolumn footercolumn2">
<h2>Informations</h2>
<p>
<strong>agilitic SCRL</strong><br />
Rue Lecat 1 bte 4<br />
7020 Nimy (Mons), Belgium<br />
TVA BE 817 331 995
</p>
</div>
15. {
"firstName": "John", JSON
"lastName": "Smith",
"age": 25,
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": "10021"
},
"phoneNumber": [
{ "type": "home", "number": "212 5551234" },
{ "type": "fax", "number": "646 555-4567" }
]
}
21. @implementation PhotoCell : CPView
{
CPImage image;
CPImageView imageView;
CPView highlightView;
}
- (void)setRepresentedObject:(JSObject)anObject
{
if(!imageView)
{
imageView = [[CPImageView alloc] initWithFrame:CGRectMakeCopy([self bounds])];
[imageView setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable];
[imageView setImageScaling:CPScaleProportionally];
[imageView setHasShadow:YES];
[self addSubview:imageView];
}
[image setDelegate:nil];
image = [[CPImage alloc] initWithContentsOfFile:thumbForFlickrPhoto(anObject)];
[image setDelegate:self];
if([image loadStatus] == CPImageLoadStatusCompleted)
[imageView setImage:image];
else
[imageView setImage:nil];
}
Hinweis der Redaktion
C&#x2019;est quoi ?
* HTML utilis&#xE9; uniquement pour la pr&#xE9;sentation
* Pas de comportement
* Vu comme un arbre XML
OK pour des pages statiques
* Manipulation du HTML avec du Javascript => Interaction
* e.g., cacher un DIV, afficher une lightbox.
JS Permet de faire des requ&#xEA;tes asynchrones
Ca fait quoi ?
* Bataille d&#x2019;IDS
* Comportement difficile &#xE0; identifier / cerner ?
* HTML + JS + r&#xE9;ponse serveur + CSS -> Homogene ?
* Paradigme existant pour des applications Desktop
* Pourquoi se faire chier &#xE0; &#xE9;crire du HTML/JS &#xE0; la main ?
* Utiliser HTML 5 de mani&#xE8;re totalement transparente
* Delicious Library
* hautement dynamique
* int&#xE9;gration webcam, redimensionnement &#xE0; la vol&#xE9;e, actions instantan&#xE9;es
* Thunderbird
* Client mail
* O&#xF9; stocker les donn&#xE9;es ?
* Web Services (JSON)
* RPC (Google web toolkit)
* Stockage local (HTML 5)
* Reste du JS
* Plus comme un framework MVC
* Assez proche du web.
* Maintenant avec un Interface builder (GreenHouse)
* MobileMe -> Synchronisation Apple
* Google Wave
* GMail
* ...
* Code en java
* G&#xE9;n&#xE8;re du JS
* Debug enti&#xE8;rement en Java
* RPC Java pour communication FrontEnd / Backend
* Plus d&#x2019;URLs
* Indexation google nick&#xE9;e
* Uniquement pour des applications, pas des sites
* Objective-J
* Cocoa
* D&#xE9;mo du truc ou on peut dessiner son salon
Les trois noms ?