Announcing Xaja, a PHP Reverse Ajax framework - PHP
This is a discussion on Announcing Xaja, a PHP Reverse Ajax framework - PHP ; Hi list!
A few month ago, I asked a question on this mailing list regarding the
closing of a connexion between the PHP server and the browser. Thanks to
the answers I was given, I have been able to complete ...
-
Announcing Xaja, a PHP Reverse Ajax framework
Hi list!
A few month ago, I asked a question on this mailing list regarding the
closing of a connexion between the PHP server and the browser. Thanks to
the answers I was given, I have been able to complete the framework I
was working on.
Today, I'm proud to announce the first open source alpha release of "The
Xaja Machine", a full-featured PHP Reverse Ajax framework, at
http://www.thecodingmachine.com/projects/xaja.
/The Xaja Machine /is a PHP framework that enables the developer to
access the most advanced Ajax features very easily.
It is a quite big piece of work. It has been in development for more
than a year now.
Xaja is a *Reverse Ajax* framework, therefore, it enables the server to
*push* data directly to the client (just like DWR in the Java world).
Furthermore, Xaja changes the way a developer thinks about its
application. Instead of being a series of request and responses like any
web framework does today, a Xaja application is made of a process on the
server side that truly dialogs with the browser. This is a shift in the
web paradigm. This is furthermore made easier by an extensible tag
library and numerous functions to manipulate the DOM of your web page.
The best part of this is you can do that *without typing a single line
of Javascript*.
Below is a list of features that you will find in Xaja:
* *Ajax:* Xaja makes it easy to develop pages with Ajax features.
You can develop applications that update the HTML page without
having to reload the entire page.
* *Pencil:* In order to update the HTML page easily, Xaja provides
an innovative method that we called the /Pencil/. Basically, you
just tell to Xaja where you would like to write into the page, and
you let the application output some HTML using the usual PHP
"echo" function.
* *DOM Mapping:* From your PHP application, you can manipulate the
Document Object Model (DOM) of the HTML page that is displayed in
the browser. You can dynamically add some items, remove other
items, etc... Basically, you take control of the browser from the
server side.
* *Tag library:* To make development easier for the developer, Xaja
comes with an extensible tag library. For instance, with Xaja,
adding a calendar is as easy as writing <calendar />. Furthermore,
Xaja adds a number of custom event handlers to standard HTML tags
that link directly back to PHP code.
* *Reverse Ajax:* Last but not least, Xaja comes with a powerful
/message broker/ that enables PHP processes to talk to each other,
and a /reverse ajax/ feature that enables a PHP process to talk
back to the browser. This makes it easy to develop highly
interactive applications like instant messaging, live feeds, or
real-time statistics.
* *Database ORM tool:* although not part of Xaja directly, Xaja
comes bundled with The Database Machine (TDBM). TDBM is a tool
that enables the developer to access its database very easily.
More information at www.thecodingmachine.com/projects/tdbm
<http://www.thecodingmachine.com/projects/tdbm>
Here is a sample using events handling and DOM manipulation:
a = <input type="text" phpvalue="*$a*" /><br />
b = <input type="text" phpvalue="*$b*" /><br />
a + b = <input type="text" id="result" readonly="true" />
<input type="button" value="Compute" phponclick="*$xajaController->getWidgetById('result')->value = $a+$b*" /><br />
In this simple adder sample, you will notice the "phpvalue" attribute
that maps directly a PHP variable ($a and $b) to the value of the input
field.
You will also notice the "phponclick" attribute that contains PHP code
that gets executed as soon as the button is clicked.
This sample shows only a small part of the features that Xaja offers.
Xaja is still in an early stage of development, but it is time for us to
get some feedback (or some help, since it is released in GPL). You can
download an alpha version of Xaja from
http://www.thecodingmachine.com/projects/xaja
You can view a screencast presenting Xaja at :
http://www.thecodingmachine.com/cmsD...ml?group_id=29
Thanks in advance to anyone sending me comments or problems regarding Xaja.
Best regards,
David.
-
Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework
On Fri, Jul 13, 2007 at 10:10:15AM +0200, David Négrier wrote:
>
> Xaja is still in an early stage of development, but it is time for us toget
> some feedback (or some help, since it is released in GPL). You can download
> an alpha version of Xaja from http://www.thecodingmachine.com/projects/xaja
> You can view a screencast presenting Xaja at :
> http://www.thecodingmachine.com/cmsD...ml?group_id=29
>
> Thanks in advance to anyone sending me comments or problems regarding Xaja.
>
Hi...
I will test your framework but the checkout for the svn repo don't
accept the username and password documented in the website. :-(
Greetings
Mario
--
-----------------------------------------------------
| havelsoft.com - Ihr Service Partner für Open Source |
| Tel: 033876-21 966 |
| Notruf: 0173-277 33 60 |
| http://www.havelsoft.com |
| |
| Inhaber: Mario Günterberg |
| Mützlitzer Strasse 19 |
| 14715 Märkisch Luch |
-----------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iQIVAwUBRpdNLDUZahlMISn3AQLXGhAAqx0GxNdNcMvTIOZ807RfmsqdKGgIVM+4
G4n0JQOYlGQVB22X1QSxmvBgBfreVdcqV0br/Vyeh1rZJFRdaHxpVoJvTds5H2ct
MO64wXHpSbBe1VYPMTRVPDV8x8sCKJtgD4P6CLlibWirT7gV7zDUPfCbcK7KJxRW
MY2+35cKrLwKxNvAYpGBavzdZ8Xs2QUnGOAse/pu+/q3eKNaTiDLov+4awBJsv7q
mbiMWZALrQFWWtk3xJV6bVfAR5HJ681oDEEuS7V+bp2kiwSHsH9AODc5pl1NyIFP
k77RCMYSJ/dtoPRgJPGVq1eMrF5+s4OEssNsH8Wnc21ISLO1T8vv4PJI10/mIoKs
zbdl5+y42xDSXBM6g9eZkKToxuBJQrWniVdkzzjyKdBItkbqf58j40lDtyWEmpj/
V14IYGiURgi3meO7WYl/28cA4gTD2L2ZoW9KcgPJhPgJqnbNF2/uMj669kefYKDY
Ou5maURprQhj2nfnzljM/tgGQTVb3CLeIqsqPwBQraD/6OZ0hnIkYtg5l3G46kvu
TfvcZDqTDT8t2zarkzUcg7Oo9lxkDz7tskE6NHyLn3c+6YzUrcBbD24R0wqiJ4nw
+X2YprFr7m9b87cZKS6P6q9JJAzSv/k0sxX5fCDq3Up5rNvdfSqlANb0bSyTiC2x
7XY07KLiR+A=
=6JCJ
-----END PGP SIGNATURE-----
-
Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework
Hi Mario, hi Stuart,
I fixed the SVN repository. You can try it now, it works better.
Regarding the way Xaja is pronounced.... well.... mmmm.... that's a good
question.
Actually, I'm French and my pronunciation is... well... French
, so I
won't give you any advice on how to pronounce it.
However, I will present Xaja in San Francisco at the Ajax Experience (a
conference about Web 2.0 development). I will ask some people there if
they can give me a clue on the way to pronounce it in English
.
Best regards,
David.
Mario Guenterberg a écrit :
> On Fri, Jul 13, 2007 at 10:10:15AM +0200, David Négrier wrote:
>
>> Xaja is still in an early stage of development, but it is time for us to get
>> some feedback (or some help, since it is released in GPL). You can download
>> an alpha version of Xaja from http://www.thecodingmachine.com/projects/xaja
>> You can view a screencast presenting Xaja at :
>> http://www.thecodingmachine.com/cmsD...ml?group_id=29
>>
>> Thanks in advance to anyone sending me comments or problems regarding Xaja.
>>
>>
>
> Hi...
>
> I will test your framework but the checkout for the svn repo don't
> accept the username and password documented in the website. :-(
>
> Greetings
> Mario
>
>
-
Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework
On Fri, Jul 13, 2007 at 12:44:35PM +0200, David Négrier wrote:
> Hi Mario, hi Stuart,
>
> I fixed the SVN repository. You can try it now, it works better.
> Regarding the way Xaja is pronounced.... well.... mmmm.... that's a good
> question.
> Actually, I'm French and my pronunciation is... well... French
, so I
> won't give you any advice on how to pronounce it.
> However, I will present Xaja in San Francisco at the Ajax Experience (a
> conference about Web 2.0 development). I will ask some people there if they
> can give me a clue on the way to pronounce it in English
.
>
> Best regards,
> David.
Now it works fine. :-) Thanks.
I will test it and give you some response, if you want it.
Greetings
Mario
--
-----------------------------------------------------
| havelsoft.com - Ihr Service Partner für Open Source |
| Tel: 033876-21 966 |
| Notruf: 0173-277 33 60 |
| http://www.havelsoft.com |
| |
| Inhaber: Mario Günterberg |
| Mützlitzer Strasse 19 |
| 14715 Märkisch Luch |
-----------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iQIVAwUBRpdapjUZahlMISn3AQL2/hAAlovKM5Tg6ZizMrFrkpRbLUtVVx+upEth
XL0ULPtWWYmWFXQKXZGG2cRau2UY3BDTjH+EzPEPCCte9mIRey3HSbWQ3b0WTT0C
8kNZhdHRRzre4l43F7Um8anjhXH32k15p/JHQgGM7sl5PJ3yhKGqmKaVDtYWFwZ1
jpN3qXoxhyG29D/37JdyyEX23Y1FMsRqgZwBv/ur663eyeIuPBcrZQ9A3L4V8EP+
qdjtprjA/gV+A+J8BZK0cKTCpnp8oreJqfXDOZ/Ld7xoMWoKPrVJQs83GgccxVqh
nuYNO6Hjo0BXGXgyh6dVzQC6L+jXw/DET9GNEyT4g0d3UKw4KzGO7zVvPN3baTwg
+u1PzaHXlQtOlY4qr2I6OXLeouIASIHUSREepXpy5mbArl4ALicMBOKv3Rat4rxk
vJjxPrMZ3t5HbgXJtkakehRjCAmhInKuultGZ46d919EvGLhiE5DHzwlIl4eaC2T
AfhRUSuia3XQVJVlCK8rnvSe+r8VGrlyTESJSqxO/qmKzmf220RsXbtFs/C0RNaz
AzuQtyoAndOP3ANOMX7nauMxO/nuCajoL0dby7o3HhdvTIU+0t3KV+DGLljMTli7
nU29ov2M8d+6VjzX3mAgYP8tCaPuYgEkyryxsRKA2DjGIek1y1kbR4jPx5lnkihc
rTlrdeVFaWc=
=K63d
-----END PGP SIGNATURE-----
-
-
Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework
On 7/13/07, Colin Guthrie <gmane@colin.guthr.ie> wrote:
> I reckon it should be pronounced "zah-jah" in English. (the same Z sound
> as in Xavier)....
>
> I wouldn't listen to the Americans in San Fran..... Americans always
> pronounce English in a weird and colourful way.... (and yes, colourful
> has a U in it..... get that right too!!!)
>
> 
>
> Col
I actually agree with Colin on part one and 2(a) of his
message.... for the most part. I wouldn't enunciate a "hard J" on the
second syllable, though, rather trading it for a 'zh' sound.
Immediately upon reading it, I considered it to sound like ZAH-zhah.
With regards to 2a, I agree that my fellow Americans over on the
west coast, specifically San Francisco, speak a bit different than
those of us in the northeast. Nowhere near as different as the south,
but that's not the point.
On points 2b and 2c ("Americans always pronounce English in a
weird and colourful way," and, "yes, colourful has a U in it,"
respectively), I don't completely agree. Sure, we bastardized the
language a bit, but considering Europeans bastardized it from Germanic
in the first place, it's only fair. ;-P
And to you, yes, "colourful" has a U in it. Well, guess what....
it does for us, too! Just not in the "color" part, but rather the
"ful" part. So there!
Finally, since I'm already off-topic, I may as well at least
commend our more eastern friends (read: non-American English speakers)
on understanding the difference between - and correctly using - the
words "theatre" versus "theater," and "centre" versus "center"
correctly.
</soapbox>
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
-
Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework
On Jul 13, 2007, at 10:31 AM, Daniel Brown wrote:
>
> And to you, yes, "colourful" has a U in it. Well, guess what....
> it does for us, too! Just not in the "color" part, but rather the
> "ful" part. So there!
>
It's all about "U" isn't it? 
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@raoset.com
-
Re: Announcing Xaja, a PHP Reverse Ajax framework
Daniel Brown wrote:
> And to you, yes, "colourful" has a U in it. Well, guess what....
> it does for us, too! Just not in the "color" part, but rather the
> "ful" part. So there!
D'oh! You got me there 
Col
-
Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework
I have imagined being able to connect to a client browser and push changes
to the client rather than have something sit on the client side and
periodically wait for updates.
or only update when the client refreshes the page manually. both of those
antiquated options are ugly. the push technique discussed in this email is
essentially leveraging
the Observer design pattern. As i said i imagined it could be achieved via
ajax, but wasnt sure on the implementation.
im curious now to see it in action and pour through the Xaja code for the
answer to the riddle!
btw.
i found myelf thinking of the pronouciation as ZahJah.
-nathan
On 7/13/07, Colin Guthrie <gmane@colin.guthr.ie> wrote:
>
> Daniel Brown wrote:
> > And to you, yes, "colourful" has a U in it. Well, guess what....
> > it does for us, too! Just not in the "color" part, but rather the
> > "ful" part. So there!
>
> D'oh! You got me there 
>
> Col
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-
Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework
ZA-jah probably...
SHA-jah maybe
English is such potpourri of other languages that there are no real
pronunciation rules.
On Fri, July 13, 2007 5:44 am, David Négrier wrote:
> Hi Mario, hi Stuart,
>
> I fixed the SVN repository. You can try it now, it works better.
> Regarding the way Xaja is pronounced.... well.... mmmm.... that's a
> good
> question.
> Actually, I'm French and my pronunciation is... well... French
, so
> I
> won't give you any advice on how to pronounce it.
> However, I will present Xaja in San Francisco at the Ajax Experience
> (a
> conference about Web 2.0 development). I will ask some people there if
> they can give me a clue on the way to pronounce it in English
.
>
> Best regards,
> David.
>
>
> Mario Guenterberg a écrit :
>> On Fri, Jul 13, 2007 at 10:10:15AM +0200, David Négrier wrote:
>>
>>> Xaja is still in an early stage of development, but it is time for
>>> us to get
>>> some feedback (or some help, since it is released in GPL). You can
>>> download
>>> an alpha version of Xaja from
>>> http://www.thecodingmachine.com/projects/xaja
>>> You can view a screencast presenting Xaja at :
>>> http://www.thecodingmachine.com/cmsD...ml?group_id=29
>>>
>>> Thanks in advance to anyone sending me comments or problems
>>> regarding Xaja.
>>>
>>>
>>
>> Hi...
>>
>> I will test your framework but the checkout for the svn repo don't
>> accept the username and password documented in the website. :-(
>>
>> Greetings
>> Mario
>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?