jQuery UI v1.5 Released, Focus on Consistent API and Effects
Additionally, an issue has been found in ThemeRoller that causes the downloaded images to be default images in most cases. The issue was fixed now, and we also suggest you to try out downloading your theme again.
jQuery UI 1.5: Rethinking Our Approach to UI
When we first started with the UI project, we set out to build a generic, basic, and simple way of adding and extending core interaction to DOM elements. However, we soon found that our approach wasn’t working for UI. Using the “simple” approach, we were only able to serve simple interaction modules, but not full featured UI widgets. The second problem was that some plugins came from external sources making the UI suite seem disjointed and inconsistent.
All of this occurred right after we released 1.0 and we immediately realized it was time to reconsider our path. We had to find a approach that kept the simplicity of jQuery while making it possible to add full featured widgets to UI. We also already knew that something very simple to use is very challenging to develop. The first task was to build a generic API that allowed for maximum flexibility while being amazingly simple. The next task was making it similarly simple to develop plugins for that API.
One API to Rule Them All
What we came up with, was an API that removed 95% of our exposed methods, and kept only one single overloaded method per plugin. For example:
- $(“div”).draggable() creates a draggable
- $(“div”).draggable(“destroy”) destroys it
- $(“div”).draggable(“method”) calls another method on the plugin.
The new API also makes all callbacks behave similarly, exposes the default options for each plugin and intelligently cleans up plugins using remove(). We also made it possible to update plugin options on the fly, and added smaller updates that make UI feel like one suite.
In order to make this happen, we removed the jquery.dimensions.js (which can now be found in jQuery core), the ui.mouse.js and the *.ext.js dependancies, introduced a ui.core.js (which includes many useful helpers) and created the jQuery UI widget factory which makes creating a new plugin for UI amazingly simple while making it very difficult to break the API.
Stability, Debugging, Testing and jquery.simulate
It was extremely important that jQuery UI v1.5 was not only feature-rich but also stable. We took several steps to greatly improve our debugging and testing including the setup of our own dedicated bugtracker with jQuery UI specific version and milestone targeting. We also invested a lot of time into new unit tests that make use of the jQuery test suite Qunit. Finally, we created jquery.simulate.js, a plugin specifically designed to fire true browser events. This means, you can actually tell the plugin to pick up your draggable, move it to a certain position and release it again, just if you’d be talking to a real testing person.
The Need for Effects: Enter Enchant
One of the great things in being able to take a step back is that it offers a totally different perspective on what a full-featured UI solution should offer. While jQuery UI v1.0 was currently offering a nice suite of UI controls, users were in need of solid effects like those offered in libraries such as script.aculo.us and jQuery UI’s former inspiration, Interface. Unfortunately, Interface was no longer being updated which left a bit of a hole in terms of effects; hence a new project called “Enchant” was born. Originally planned to be released as a complementary library to jQuery and jQuery UI, we realized that it made perfect sense to merge Enchant with jQuery UI allowing users easy access to advanced effects and UI controls from one solution.
We’re proud to announce that Enchant is now a part of jQuery UI and jQuery users now have a unified solution for their effects and UI needs. The jQuery UI effects can be used standalone or together with UI and have a separate core which extends the jQuery core to introduce advanced easing, class transitions (morphing) and color animations. All effects are tightly integrated into the main API and can be used as standalone ( $(..).effect() ) or directly from within jQuery methods you already know ( hide()/show() ).
Overall, we already have more than 15 ready-to-use effects for you to use in your projects, not only those provided by script.aculo.us (blind,bounce,drop,fold,slide …), but also fresh, new effects (transfer, explode. clip, scale) that make jQuery UI a great library enhancing your applications!
As promised in one of the last blog posts, it comes with a complete documentation and a combined demo page to let you see them in action.
Roll Your Own Themes: ThemeRoller!
One of the first things that a user typically wants to do when using new UI controls is “skin” them to match their site’s color schemes. Obviously, when you have UI controls from varying sources, the ability to provide a consistent “theme” across all controls becomes much more difficult since most component authors have their own method of skinning their controls. We took a serious look at this and made it a priority to have a consistent default theme that users could use as a template for customizing jQuery UI’s set of widgets.
We reached out to Boston-based Filament Group for some help in this and they were all for it. Being very invested in jQuery, they saw this as a great opportunity to further help the project. Well, what went from an discussion outlining a single default theme quickly blossomed into jQuery UI’s killer app; ThemeRoller.
ThemeRoller offers a unique approach to theming UI components specifically built for jQuery UI. With ThemeRoller, you can create your very own theme for your project within minutes. It’s completely intuitive, comes wich rich controls to change the color and design of each state, and then previews your theme with the actual UI components as you work!
You now have literally millions of combinations to chose from. Any theme you create can be reached by copying the URL at any point in your progress; and after you’ve played with it enough, you can click the download button and a ZIP package is generated with the css file, the images and a demo page.
In addition, ThemeRoller also includes a theme gallery to browse for downloads and inspiration. Creating a theme for your application doesn’t get any easier than this; it’s simply that amazing.
We really want to extend our deepest gratitude to the amazingly talented folks at the Filament Group for creating this amazing application.
Oh and by the way, you can also reach ThemeRoller by direct URL at: ThemeRoller.com. If you want to know more about this great app and how it’s done, visit the excellent blog writeup by Filament Group!
Plugin Stabilization and Enhancements
The biggest improvements and changes were done on individual plugin code. Almost every plugin has been completely rewritten from scratch to optimize stability and performance and every plugin now comes with a bug changelog. We also focused heavily on enhancing options and increasing flexibility (e.g. connecting sortables to draggables) to allow our plugins to be used in almost every environment.
The best way to get a full feel for every enhancement to jQuery UI’s components is to review the changelog. It’s fairly extensive and gives an indication of the incredible effort put in by the UI team. In the near future, we’ll be creating postings and articles which outline the newest features of UI’s components. In the meantime, we suggest you read our blog post about jQuery UI 1.5b, which explains many of the mouse interaction changes (sortables, draggables, slider), and dig through the documentation and the changelog yourself.
jQuery UI v1.5:
Final Release: http://ui.jquery.com/download
You can also checkout the full release of jQuery UI v1.5 from the Subversion repository.
There’s more to come!
This has truly been an amazing effort and we’re very proud to be able to offer a comprehensive UI solution to the jQuery community.
We’re already planning the next release and have a huge roadmap that contains plugins like grid, tooltips, menus, colorpickers, autocompletes and much more. Many of them are already done and commited code-wise. We’ve also planned plugins using new technologies like Webkit’s css transforms (see the recent coverflow plugin), so stay tuned.
None of this would’ve been possible if not for the amazing efforts and dedication the jQuery UI team. They’ve dedicated so much of their personal and professional time to create this amazing library and they deserve so much credit for their hard work. We also want to thank the jQuery core team, with whom we worked closely together to integrate many needed features into the jQuery core itself.
Last but certainly not least, we want to give a VERY special thanks the Liferay staff, who invested countless hours into the development of the new UI website, and with whom we worked closely together to stabilize jQuery UI for all kinds of enterprise situations.
Thank you for all of your support,
Paul Bakaus & the jQuery UI Team
Amazing work. Really.
Fabulous work. Congratulations to the entire team on an extremely well thought-out reworking of JQuery UI. My only quibble is that I think this work is worth a major version bump.
I don’t understand. Instead of looking up what methods to call, now you have to lookup what string to pass a method? How is that an improvement? It completely breaks auto-complete as well.
Pingback: Reflective Perspective - Chris Alcock » The Morning Brew #111
the download still doesn’t seem to work correctly. I selected YIU and the filename says .min.js
Or is this normal? Since when I tried it earlier it showed YUI in the file name..
Pingback: links for 2008-06-10 « Breyten’s Dev Blog
@evrim – I wouldn’t say that, the forms plugin is superb, table sorting plugins are available either via the ext.js extensions and grids IMO should be done with your own HTML+CSS (plus $.resizable) but ext.js covers that aswell. As people write and submit plugins for UI using the API that kind of functionality will become available too. It’s not at all useless for a real project now.
That said I would love to see some examples added for the dialogue boxes. The ease of customising and using jqModal and the examples that go with that plugin would be great to see on the UI website.
Pingback: Ð—Ð°Ð¿Ð¸ÑÐºÐ¸ Ð¸ Ð·Ð°Ð¼ÐµÑ‚ÐºÐ¸ Ð¾Ð±Ð¾ Ð²ÑÐµÐ¼ » Blog Archive » Ð’Ñ‹ÑˆÐµÐ» jQuery UI 1.5, iPhone 3G Ð¸ Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ðµ Wordpress
One thing I don’t like about UI: datepicker ~60kb !? I was looking for a simple datepicker/calendar for JQuery and this one looks to me huge.
Maybe with new promised widgets (colorpicker / menu / etc.) we’ll see a lighter calendar.
However, congratulations for your good work.
Pingback: Themeroller | Crea online tus themes para jQuery | ..: CRISTIAN ESLAVA | DiseÃ±o GrÃ¡fico / Web | MaquetaciÃ³n | Flash | Multimedia | 3D | FotografÃa :..
Pingback: techfounder » Semi-colon mystery explained, jQuery UI released
Nice work! I haven’t used it yet, but I’m looking forward to it.
Pingback: antiprocess.net » Blog Archive » Linkit: 9.6. - 11.6.
I’m disappointed that this blog is selective in showing comments. I’ve comment on cross browser issues and the lack of Safari 2 support but that comment was quickly filtered.
I guess the jQuery/UI team is only interested in ‘Nice work!’ type of comments. Getting things out fast should be of higher priority then creating stable scripts. As is, this won’t be very usefull in a production environment.
Pingback: JQuery UI 1.5 released | Web Tool OnLine
Pingback: MooTools 1.2 | Ionut Staicu - Webdeveloper Blog
Pingback: links for 2008-06-13 « Richard@Home
Also the demos could do with descriptions, the interface is flashy but not very user friendly, each scrolls around with no clue what it’s a demo for…
Other than that it looks good and I’m pleased to see it progressing.
Pingback: jQuery UI v1.5 released < Blog::Log
Pingback: Weekly Web Nuggets #16 : Code Monkey Labs
Pingback: jQuery UI: dezamÄƒgirea continuÄƒ | CNET.ro
Pingback: Mrasnika’s Lair » jQuery UI 1.5: Effects, API, and Themes
is IE6 still supported by UI 1.5 ?
while trying the demos I’ve seen several problems…
Pingback: David Esperalta
Pingback: Around the web | alexking.org
Pingback: » WordPress 2.6 Beta 1 boren.nu
Pingback: Wordpress versi 2.6 beta 1 sudah rilis | KopiOnline.com
Pingback: ã‚ãƒ¼ã©ã·ã‚Œã™ã£ï¼ » WordPress 2.6 ãƒ™ãƒ¼ã‚¿ 1
Pingback: WordPress 2.6 Beta 1
Pingback: WordPress 2.6 Beta 1 | protusi
Pingback: WordPress 2.6 Beta 1 | FlishFun.com
Pingback: WordPress 2.6 Beta 1 erschienen | Caschys Blog
Pingback: aMaNz » WordPress 2.6 Beta 1 Boleh di Muat Turun
Pingback: Wordpress 2.6 New Under The Hood Features - ShoeMoney®
Pingback: BlogTuga | Wordpress 2.6 Beta 1
Pingback: WordPress 2.6 Right Around The Corner | Jeffro2pt0
Pingback: Ð ÐµÐ»Ð¸Ð· Wordpress 2.6 beta1 | Ð’ÐµÐ±Ð¼Ð°ÑÑ‚ÐµÑ€Ñƒ Ð¿Ð¾ÑÐ²ÑÑ‰Ð°ÐµÑ‚ÑÑ...
Pingback: WordPress 2.6 Beta 1 at WordPress 2.6 Beta 1
Pingback: mattwalters.net / links for 2008-06-25
Pingback: SocialTrend – Ð’Ñ‹ÑˆÐµÐ» Ñ€ÐµÐ»Ð¸Ð· Wordpress 2.6 Beta 1
Pingback: Gabfire web design » The steps of WordPress 2.6
Pingback: Download báº£n WordPress 2.6 Beta 1 | Viá»‡t Tutorial [Viettut.info]
Pingback: WordPress 2.6 le ultime novitÃ » Archivi Blog » WordPress Italy
Pingback: WordPressæœ€æ–°ç‰ˆæœ¬ | ç‹‚èˆžç½‘ç»œ
Pingback: jQuery UI 1.5 - Rethinking UI | Ajaxonomy
Pingback: Wordpress keeps going, WP 2.6 is well on it’s way | nomad-one consulting
Pingback: Lukewarm » Blog Archive » 100% faster jquery
Pingback: Learning jQuery » Introduction to jQuery UI
Pingback: ocean90’s weblog » Wordpress 2.6 RC1 erschienen