Symfony Unobtrusive JavaScript Plug-In
François Zaninotto has been talking about a new Unobtrusive JavaScript Plug-In for symfony.
Simple Example
-
-
<div id=“foobar”>
-
I‘m here !
-
</div>
-
<?php UJS("$(’#foobar’).css(’display’, ‘none’)") ?>
-
How it is generated
-
-
<?php UJS_write(‘<a href="#" onclick="$(\’#foobar\’).toggle();return false;">click me’) ?>
-
<div id=“foobar”>
-
I‘m here !
-
</div>
-
<?php UJS_change_style(’#foobar’, ‘display:none’) ?>
-
this becomes…
-
-
<span style=“display: none” class=“UJS_placeholder” id=“UJS_0″></span>
-
<div id=“foobar”>
-
I’m here !
-
</div>
-
…
-
// <![CDATA[
-
$().ready(function(){
-
$(‘#UJS_0′).after(‘<a href="#" onclick="$(\’#foobar\’).toggle();return false;">click me’);
-
$(’#UJS_0′).remove();
-
$(’#foobar’).css(’display’, ‘none’);
-
})
-
// ]]>
-
</script>
-
Logoworks Named to the NEXT NET 25 - Business 2.0 Magazine’s Guide to the Hottest Web 2.0 Companies (Market Wire via Yahoo! Finance)
Logoworks announced today it has been named to Business 2.0 Magazine’s NEXT NET 25, the magazine’s “guide to the hottest Web 2.0 companies” for 2007. The NEXT NET 25, which appears in the publication’s March 2007 issue, highlights the 25 startups the magazine says have the ability to stand out on their path to potential future success.
IBM partners with Google for business Web 2.0 push - iT News
| IBM partners with Google for business Web 2.0 push iT News, Australia - This latest development in the world of mash-ups and composite apps is more proof that big IT companies are pushing heavily into the world of Web 2.0. ... IBM Brings Google Gadgets to Corporate Portal Users WebSphere Greets Google Gadgets IBM Goes Goo-Goo For Gadgets |
Google Apps, Enlisted for Delivery of Complete Enterprise Web 2.0 … - WebSite Host Directory (press release)
| Google Apps, Enlisted for Delivery of Complete Enterprise Web 2.0 ... WebSite Host Directory (press release), OR - Louis Naugès, President of Microcost offered, "We at Microcost have for some time had a very clear vision of what enterprise Web 2.0 can do for our clients ... |
Does Web 2.0 matter to your business? - Bizcommunity.com
| Does Web 2.0 matter to your business? Bizcommunity.com, South Africa - Most of this has to do with something we call Web 2.0 - an extension of what you and I already do every day: interact with the world. ... |
GWT-Spring Integration Demistified
Gabi S. in what appears to be her first blog post has already started off with a bang. In tutorial form she shows how to integrate GWT with Spring.
To integrate [the GWT application] with Spring we only have to register our GWT servlet in our web.xml so we can simply use Spring's ServletForwardingController to call services by name. We also have to modify a bit our GWT client to reflect a path change we have to do...The ServletWrappingController [defined in the Spring application context] controls the RemoteServiceServlet's lifecycle completely, emulating the servlet-container.
So once you have instantiated your GWT services with Spring, you are free to use all of that good stuff, like inversion of control (IoC), aspect oriented programming (AOP), etc. For those wanting a quick overview of Spring, the "swiss army chainsaw of Java and .NET frameworks," have a look here.
Note: we are using Spring on the server side here, not the client side. For IoC in the browser, see the earlier post on JDA.
Web 2.0, BPM 2.0, BI 2.0: How Many 2.0’s Do We Need? - B-EYE-Network
| Web 2.0, BPM 2.0, BI 2.0: How Many 2.0’s Do We Need? B-EYE-Network, CO - It all started with Web 2.0, which has its origins in a series of Web development conferences started in 2004 by O’Reilly Media and MediaLive International ... The US Department of Defense Goes Web 2.0 |