Affichage des messages blog dont le libellé est prototype1.6. Afficher tous les messages blog
Affichage des messages blog dont le libellé est prototype1.6. Afficher tous les messages blog

vendredi 11 juillet 2008

Prototype 1.6 compatible :)

The new branch for prototype 1.6 is now ok and runs Slidy smoothly, which is a good test application !

I think the patch will be integrated for the 0.9.0 but we still have to do some work for 0.8.0 release before :)

After the 0.9.0 release, I may maintain a Prototype 1.5 compatible version, thanks to Mercurial :D

P.S.: I've mis-pushed the prototype 1.6 patch on the current official tip... will remove it ASAP !

mardi 8 juillet 2008

Much more documentation and Prototype 1.6 coming

Ok, it's a while I've not posted here (again !) but we're still working on Archetype, don't worry :)

Swiip has made so much documentation for 0.8.0 (you can have a look at http://archetypejs.org/snapshot ) that we had to push the 0.8.0 release to some other day in order to do all the checks and reviews needed.

Have you ever wanted a Prototype 1.6 compatibility ? It's almost available on one of my test repo, just pull http://freehg.org/u/temsa/archetype-p16/ with your Mercurial client and try to help me (Slidy is not working right now, and I don't understand why) ;)

mercredi 27 février 2008

The Prototype 1.6 headaches

You may have notice that we haven't switched yet to Prototype 1.6.x.

There are many reasons to this, and the main one is that Prototype has broken the compatibility ( http://prototypejs.org/api/hash ) with the original Hashmap format. This leads to some problems as we are used to enhance basic Hashmap to prototype ones when needed, particularly for the whole files loading process...

We often use hashmaps to define namespaces, and the new hashmap format leads to a particurlarly bad (for this purpose) new syntax to acces members.

We're looking for some good ways to handle this, and the new $H instruction (compared to the old one) has some interest: it's quick, make a "copy" of the original map (in facts it keeps the same reference to objects, and just copies strings and numbers) and gives a good way to come back to an "plain old" hashmap after prototype functions has been used.

So I'm working to find a good solution to use Prototype 1.6, and I even think of changing some backends (like object creations and custom events) to Prototype 1.6 ones. Not very easy to say at the moment whether I'll do this or not.