New stuff in Jaws

I've been hacking these days in the items we would like to have in next Jaws (0.6).

Today we have 98% of code documented in PHPDoc, we have the licenses for Core (LGPL) and for gadgets (GPL) in their php documentation. Also ion created a new gadget named Blocks that he says it will surprise users face-plain.png , it was Friday (the only day he surprise us with his hacks tongue.png ) so I think it will be great face-smile-big.png .

In the other side I finished the URL map stuff, now users can 'access' their gadgets (and actions) in easy and short urls.

In last releases users needed to write:

index.php?gadget=Blog&action=SingleView&id=23
 

Just to see the Blog's post #23.

Now users can simply access items:

index.php?23
 

I wrote an engine for model so a developer can add as many map urls he wants to have and the engine will add the records to the database and build a regexp for each 'map'. This is a nice feature because it will let us have REST urls for actions, I've been talking about REST/Webservice ideas I have in mind with Ivan and the 'url map' stuff will help us a lot because users can do requests like:

admin.php?Blog/NewEntry
 

Many of you don't have an idea of what a REST request is. A REST is something like a 'POST' or a 'GET' request, REST is not w3 official. The 'difference' is that with rest you 'send' data and you 'get' data, same as with databases. With GET or POST requests you can do many other actions (you can stop between a GET/POST request and do other stuff).

As many of you know, for Jaws 1.0 we have in mind to have webservices in both ways: complex webservices (with classes, using WSDL/SOAP) and easy webservices (using REST).

Also, the other developers have been working in the Jaws core making it faster, they say that Jaws SVN (the next 0.6) is ~10 times faster face-smile-big.png . I'm happy with the work they are doing cause I trust in what they do (all of them are from PEAR team).

Ahh.. before finishing this note, in the last days a group of users started a Jaws community named Jaws User, they have many docs about Jaws, tips, themes (a lot) and many funny pictures. I think the idea will help many other users, would be great to have Jaws User's site in English but people who started it are the ones who don't speak english or is difficult for them, so lets help them face-smile-big.png .

A nice image that can be found in Jaws User's site: