Re: Facelets for PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

I know at least one framework that can do it. It's called Xaja:
 http://www.thecodingmachine.com/ext/xaja/doc/

In fact, it is doing much more than just providing facelets since its main
purpose is to provide reverse ajax features.
It already supports a number of custom tags, and especially, it provides a
wrapping of the ExtJS Javascript library.
You can have a look at the doc here:
 http://www.thecodingmachine.com/ext/xaja/doc/widgets/about_widgets.html

The technique to write additional components still lacks documentation but
if you have a look at the code, it is not that difficult.
And I can provide some help.

I'm sure there must be other frameworks around providing custom tags. Any
one know another one on the list?

Regards,
David.

Disclaimer: I am the main developer of Xaja :)


On Wed, 27 May 2009 10:19:42 -0400, David Greenberg <greenberg.d@xxxxxxxxx>
wrote:
> Hi all,
> It is very likely that there is already a framework out there somewhere
> that
> does this, and that my searches are just too primitive to find it. 
Please
> bear with me.
> 
> I would like to structure a site where every page is written in pure
XHTML.
>  In addition to the standard XHTML tag validation, I would like to
>  reference
> a tag library that allows custom "components" to be added to a page.  For
> instance:
> <form>
>   <h1>Input here</h1>
>   <myns:suggestionInputText />
> </form>
> 
> I would then like to use PHP to translate this into XHTML that can be
sent
> as an HTTP response.  Moreover, I would like to be able to define custom
> components using XHTML pages.  The concept comes from Java Facelets.  The
> main point here is that PHP generates a minimal amount of
XHTML/JavaScript
> for each component, while the pieces are put together by running a PHP
> program against a pure XHTML file.
> 
> Is there already a framework within PHP to do this, or would it require
> custom development?
> 
> Certainly the possibly implementations are endless, and something like
XSLT
> would be a natural step towards one.  I am, however, holding out some
hope
> that a framework already exists, and that I won't need to worry about
this.
> 
> Thank you,
> David

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux