[TYPO3-50-general] Technical concepts for TYPO3 v5 backend
Thomas Allmer
at at delusionworld.com
Thu Feb 5 18:40:17 CET 2009
Robert Lemke wrote:
> Therefore please keep posting your ideas and material about the topic! I'll
> read them all and give some feedback as soon as spend some more thoughts on
> them.
I think this is really important, so I wrote a little article about it.
http://www.delusionworld.com/webdev/progressive-enhancement/
Feedback is highly appreciated.
> One thing I'm especially interested in: Are there any frameworks /
> solutions
> which combine the approach of php-ext or GWT with progressive enhancement?
> My ideal currently is a PHP based widget library similar to QT which
> produces
> output following the progressive enhancement concepts.
I would suggest a slightly different approach. Or at least this is how I
(would) do it.
If you use pure progressive Enhancement then you actually don't need
dynamically created javascript code. Just create the HTML+CSS include a
static js file and you should have the enhanced version.
So just a switch like $useThisJsFile (just kidding) should be perfectly
fine. All js Files this file depends on should be either autoloaded on
demand or included in a autogenerated minified file.
I actually working on something like this for MooTools right now. You
can find 2 more articles about that on my blog.
So to give an example if someone wants to use Tabs. He just does for
example:
<div class="tabs">
<h3>TabTitel</h3>
<div>content</div>
<h3>anotherTab</h3>
<div>anotherContent</h3>
</div>
So a static js file like get all divs with class="tabs" and use the h3
as title and the div as content would be be perfectly fine. In MooTools
it would look something like this:
new autoTabMenus( $$('.tabs'), 'h3', 'div' );
not really complicated so, I would say we don't need any php for this.
ok, who is still with me? I think I have to create another article on
this...
cheers
--
+---------------------------------+-----------------------------------+
| Thomas Allmer | http://www.delusionworld.com |
| E-mail: at at delusionworld.com | phone: +43 699 16217064 |
+---------------------------------+-----------------------------------+
More information about the TYPO3-project-5_0-general
mailing list