20090304
20090227
O'Reilly Webcast: Developing Applications for Palm webOS
Cada cop m'esta molant mes el Mojo SDK, podeu veure el primer video per developers
També podeu reservar el llibre de Palm WebOS de O'Reilly o llegir el primer capítol gratuitament
M'ha agradat especialment de la demo que el Mojo SDK sigui Model-View-Controller, que els serveis del hardware es cridin via URLs de l'estil palm:// i implementis una funcio de callback pel success o el error i la facilitat d'utilitzar html standard amb algo de mojo i css.
Problema, esta molt basat amb prototype, MOC pels ultrafans del jQuery, encara que diuen que sera compatible tot el core ja esta fet amb prototype :(
A la ronda de preguntes han sortit alguns dels problemes que ja es veuen a venir:
- Full screen apps
- Posibilitat d'accedir directament al hardware amb un llenguatge de mes baix nivell (per jocs, players, etc)
- Que passa amb el codi de les APPS que creis ? Al ser tot javascript+html+css sera tot visible i per tant, facilment copiable, com la part visible de les aplicacions web. I es més, serà modificable per l'usuari ? podra entrar al seu device i modificar codi ?
El tema s'esta possant interessant, la veritat !
Posted by
Agustí Pons
at
04:11
0
comments
Labels: informatica, jquery, palm, programació, programación, webos
20090225
Links que m'he de treure de sobre
Ja no puc tenir tantes pestanyes de Firefox obertes, deixaré aquí les que vaig a tancar com a referencia futura.
Club de Cuines de TVC i Catalunya Ràdio, developed by interactiva i omatech.com
PHP-PDB, llibreria per llegir arxius de palm utilitzant PHP
Alguns plugins de jQuery interessants
15 problemes comuns de drupal i les seves sol·lucions
Nou editor WYSIWYG amb javascript, open source, s'ha d'anar monitoritzant
Més plugins de jQuery
El dia anti-IE6
Celebrities, hoy, Miguel Indurain, Muchachada Nui
Experiencies d'una empresa que ha creat 5 iphone applications en 30 dies
Obituary for IE6, ja va sent hora
Posted by
Agustí Pons
at
15:43
0
comments
Labels: chanante, computers, firefox, friky, informatica, jquery, muchachada, omatech, php, web 2.0
20070122
Bug in animateClass jquery extension
If you have tried to use the excellent animateClass extension to jquery maybe you have found that doesn't work in IE.
For example this sample code changes dynamically a h1 element from class "inicial" to class "final" producing a nice transition animation when you enter the page.
<script type="text/javascript">
$(document).ready(function()
{
$('#titolseccio').animateClass('final', 500);
});
</script>
With this release of animateClass (January 2007) this example only works in some browsers (particularly Firefox, the most popular in the developers community), but fails in Internet Explorer 6 and 7 (shamefully the most broadly used by the rest of the mortals (including customers))
You can solve this particular problem patching the animateClass.js
You have to download the uncompressed version of animateClass.js and look for a line like this:
if( typeof newStyle[n] != "function" && newStyle[n] /* No functions and null properties
and add this two conditions:
&& typeof newStyle[n] != "boolean" && typeof newStyle[n] != "number"
Resulting in this line:
if( typeof newStyle[n] != "function" && typeof newStyle[n] != "boolean" && typeof newStyle[n] != "number" && newStyle[n] /* No functions and null properties */
Now you can save your patched version of animateClass.js and reload your html page in Explorer (remember to Shift+Reload to avoid cached .js confusions)
The explanation of the problem is that javascript IE doesn't allow you to use string functions (like replace) on booleans and numbers, causing an unhandled exception.
Watch Out, this is not a generic patch, I'll warn the animateClass developer to patch it properly. For example, with this patch, you will not be able to animate any number CSS value (in the example the animation is from "20px" to "40px" the px makes it a string value, not a number).
Posted by
Agustí Pons
at
15:48
0
comments
Labels: animateClass, computers, CSS, informatica, jquery, XHTML
