Web Info & Tutorials

January 3rd, 2007

DIRECTORY CONTEST - MAY THE BEST DIRECTORY WIN!

Directorycontest-May the prizewinning Directory Win!

Mike Dammann has started a directory contest.It is ultimate you module hit to surpass prototypal in google for keyword directorycontest.com .

May thhe prizewinning directory win.

Onsite improvement is not allowed in contest.

First accolade is 2000$.

Visit directorycontest.com for more info!

January 3rd, 2007

USING YUI IN GREASEMONKEY SCRIPTS

Carlo Zottmann, a Yahoo! engineer in Munich, is a fan of GreaseMonkey and wanted to use YUI in his user scripts.

His article provides a reusable model for how to make use of YUI in the GM script without stomping on any YUI use already on the page:

In this brief article, I’ll share with you my own effort to reach that goal — a Greasemonkey script that adds calls to external JavaScript libraries and CSS files to a given page and, once they are loaded, passes the YAHOO global object to the code inside the Greasemonkey script. (All YUI components reside within this single single global variable, YAHOO — so, for example, you access the YUI Event Utility by referencing YAHOO.util.Event.) I’m sure that this approach is neither the perfect nor the only solution to achieving YUI/Greasemonkey integration, so suggestions and ideas are welcome! Please sound off in the comments and let me know what approaches you’ve taken to this problem in your own projects.

The example script in action: The Greasemonkey script loads YUI components, sends selected text to Yahoo! Babelfish for translation, then displays the results in a YUI Panel Control.

January 3rd, 2007

ECIRKIT: MORE SOCIAL NETWORKING

eCirkit.com is a new social networking platform that has it’s fair share of Ajax sprinkled in.

  • On your profile page you can mouse over your user interests and a tooltip popup appears showing the full text of your interests, like favorite TV shows. You can then click the tooltip popup to go into edit mode, edit your data right in place, mouse out and your changes are sent to the server via Ajax.
  • On your manager page, you can view your emails, then click an individual one to see full view in the main content window. From there you can reply and delete.
  • You can use drag and drop to delete users from your contact list into a trash can. The contact is deleted from the backend server.
  • You can use drag and drop to drag 2 of your contacts into the eCirkit connect panel, then type and introduction email. This will introduce the 2 users to each other, and they can then add each other to their contacts list.

The backend is a full Java J2EE web server. I use JSP pages and servlets in the web tier, EJBs in the middle business layer tier, and hibernate persistence layer for the database access.

eCIRKIT

January 3rd, 2007

EXPRESSIONENGINE AJAX RESOURCES

Jamie Pittock has launched a newborn ExpressionEngine place and has a pair of articles concealment the antiquity of Ajax applications using the PHP framework.

In ExpressionEngine and Ajax Jamie covers adding whatever ultimate features to an ExpressionEngine covering using the Prototype support and Behaviour.

JAVASCRIPT:

  1.  
  2. var myrules = {
  3. ‘ul#thumbs li a’ : function(el){
  4.         el.onclick = function(){
  5.     var denomination = this.id
  6.     new Ajax.Updater(‘featured’, ‘/gallery/_gallery-ajax/’+title, {
  7.         asynchronous:true,
  8.         evalScripts:true,
  9.         onComplete:function(request, json){
  10.             Element.hide(‘indicator’)
  11.         },
  12.         onLoading:function(request, json){
  13.             Element.show(‘indicator’)
  14.         }
  15.     });
  16.     return false;
  17.     }
  18. }
  19. };
  20. Behaviour.register(myrules);
  21.  

Jamie also place unitedly a proof of concept for the beatific ole To Do List application, every within the instance it took his lover to intend primed for a period on the town.

January 3rd, 2007

DOJO OFFLINE TOOLKIT KICKS OFF

Brad Neuberg has started impact on the Dojo Offline Toolkit hardback by the generousness of SitePen.

What is the Dojo Offline Toolkit?

The Dojo Offline Toolkit module be a small, cross-platform, generic download that enables scheme applications to impact offline.

Let’s countenance at the Dojo Offline Toolkit from a user’s perspective. Imagine Alex is using a web-based actual realty covering for realtors shapely with the Dojo Offline Toolkit. In the upper-right crossway of this scheme covering is a fix that says “Work Offline.” The prototypal instance Alex clicks on this button, a diminutive pane appears revelation him that this scheme covering crapper be accessed and utilised modify if he is offline. If Dojo Offline has never been installed, Alex is prompted to optionally establish a diminutive 100K finished 300K download that is automatically designated for his pertinent OS, including Windows, Linux/x86, and Mac OS X/Universal Binary.

Once Dojo Offline is installed with the included installer, the web-based actual realty covering prompts Alex to inspire a hyperlink to his screen and marker the scheme application’s URL. As Alex entireness online, anything that should be acquirable offline is only stored locally. If Alex is offline, he crapper accomplish his covering by only double-clicking the unification on his desktop, inaugural its bookmark, or by only typewriting in its connatural scheme address. The application’s user-interface module magically materialize in the browser, modify if the individual is offline, and every offline accumulation module be retrieved from and stored into topical storage. Dojo Offline detects when the meshwork has reappeared, allowing the scheme covering to beam some accumulation stored in topical hardware to the scheme server.

Local hardware is finished using Dojo Storage, which allows scheme applications to accumulation hundreds of K or megabytes of aggregation exclusive the browser, with the user’s permission. Dojo Storage is rank and entireness crossways 95% of the existing installed humble of the web, including Firefox, Safari, and Mozilla on Windows, Linux, and Mac OS X. The Dojo Offline Toolkit module become bundled with Dojo Storage.

Once Dojo Offline has been installed, it module impact for some scheme covering that codes to it — it is completely generic and has no covering limited aggregation in its download. Applications hit a consistent, ultimate API they crapper cipher to, the Dojo Offline and Dojo Storage APIs, to enable offline ability. Even better, since the individual ever interacts with the scheme covering finished its field name, kinda than finished a file:// become or http://localhost field name, the scheme covering runs low the aforementioned section policies as accepted scheme sites, which effectuation a user’s organisation module not be compromised by an untrusted scheme application. The Dojo Offline Toolkit module impact in cyberspace Explorer, Firefox, and Safari, and module separate on Windows, Linux/x86, and Mac OS X/Universal Binary.

The Dojo Offline Toolkit module be full unstoppered source, acquirable low the aforementioned licenses as Dojo: the BSD and the AFL.

The impact is finished via the Proxy AutoConfiguration (PAC) feature in our browsers, and the test deliverable module exist of:

  • the Dojo Offline proxy
  • installers and uninstallers
  • PAC enter procreation and registration
  • the Dojo Offline API for easy, application-level access
  • the Dojo Offline web-based installer UI for downloading Dojo Offline documentation
  • a distribution application, Moxie, restricted to impact with Dojo Offline
  • QA and fault fixing

Good phenomenon to Brad. We countenance nervy to center most your experience, and progress!