University Web Developers

University Web Developers

I'm beginning to do some simple Ajax stuff using the Spry framework because it's built into Dreamweaver CS3. I realize that the Spry framework is a bare-bones implementation but is there any reason I should give up Spry and go entirely with Scriptalicious or one of the other libraries?

I wonder if I can mix the Spry stuff and Ajax from other libraries as well?

Views: 504

Replies to This Discussion

I looked into Spry, and while it is neat, I am avoiding it due to how Dreamweaver tends to handle such add-in type functionality. There's obviously the big accessibility concern, too. The AJAX I have started doing is all hand coded, and not on anything mission critical, or anything that might be missed if it didn't function.

I would say you're better off sticking to the big name frameworks, because it is likely to see better growth and development long term, whereas Spry will only grow within the community using Dreamweaver.
I've used Spry, YUI, jQuery, and hand coded AJAX (when "flashy" wasn't a requirement). It's tough to say which one is better, because you'll find benefits to each that no other one offers. YUI is very well documented, has plenty of examples, and supported by a pretty big company. jQuery has hundreds of plugins with more contributions on the way. My mindset is to try a bunch and stick to what you like.

You should be able to mix AJAX libraries... as long as each is well written. You will have problems if function calls are overwritten. That being said, I would recommend against this as each library brings along its own baggage. Two libraries on the same page just means more bloat.
Have you tried using any of the compressed versions of frameworks, like jQuery? I have tried a couple times in the past, because one thing that concerns me is the amount of download it adds to a page. But so far, I've never had luck getting them to work.
No problems with the jQuery compact file.
I've never had any problems either. I'm a big fan of the jQuery library as it's the most well-rounded of the libs I've tried. In fact, I haven't even really used the AJAX portions of it, and rely on it mostly for progressive enhancement of web page info organization and DOM-manipulation for XML applications. It's really tough to beat it in those areas.
The jQuery GZip works great. It's only 15kb.

As for the Ajax, I can run full functioning AJAX calls (with activity indicators) in less than 10 lines. It's awesome!
Whether or not you can mix spry with other libraries will depend on how well spry and the other library keep themselves from mucking up the global namespace. If spry and the other library use the same function names and haven't encapsulated themselves, then you will run into problems.

Script.aculo.us (I'm assuming that's you meant) isnt a complete framework. It is mostly user interface enhancements built on top of the prototype framework. I've used script.aculo.us but was not pleased with its documentation. I felt it to be lacking in completeness and explanation.

I ended up moving to mootools as has almost all of the effects offered by script.aculo.us but a much richer documentation. It's also more modular meaning that you can download the framework with only the components you need to complete the task. This can greatly reduce the ending file size of the framework. It also supports building your javascript code in a class-based OOP manner.
I'm actually combining YUI and jQuery on the same page in something I'm working on right now. It isn't an ideal situation, but in this case I want to use some of YUI's widgets but need the power of jQuery's selectors (YUI's selector class doesn't begin to compare). Since each packages requires just one non-overlapping entry in the global namespace there is really no problem with this at all, but YMMV depending on what packages you try to combine.

I use the gzipped version of jQuery and the Yahoo-hosted version of YUI. From a time-to-load perspective, the hosted YUI solution is great: anyone who's used Yahoo Search, Mail, Flickr, or any one of the other "millions" of Yahoo properties in recent past probably has the YUI classes cached in their browser already.

--Jason
Today Im using the Jquery, I used the prototype and scriptaculous before. :)
I dun like of scriptaculous, prototype, yahooui, and others. :)

THe Yui have the best official documentation.
I found prototype alone was doing everything I wanted it to do, and then discovered scriptaculous to make things cool. I have a colleague who swears by jQuery. I think it's a case of each to their own with some of the libs - prototype makes sense to me, jQuery to him. I had a look at jQuery and couldn't fathom it out - though that may have a lot to do with me already having been using prototype for a year and not having time to relearn another lib for the sake of it.
If you are programming a web application and not a web site, I recommend ExtJS. I have used it for a few web applications and, man, is it sweet. I haven't tried it with a web site. I've been avoiding doing so because I believe in graceful degradation for web sites - though I don't believe in graceful degradation for web apps.
We use a number of framework collections and libraries, but I found that SPRY was actually fairly heavy and messy - especially when compared to JQuery (our core library) for most of what we do.

We like the JQuery core and JQueryUI - the complexity in using various different scripting bases comes into making sure if you are using any global values, shortcuts for instantiations, or any clever method chaining, then you test everything well so you can mitigate the risk of conflicts... A good test process and strong documentation for your library code will overcome all that, though... and it seems all the frameworks have a little something different to offer.. :)

YUI, Prototype (or EXT for the combo) and MooTools were - in my view - some of the best of the add-ons, but there is little that we find a need for more than the JQuery / UI...

RSS

Elsewhere

Latest Activity

Erin Jorgensen posted a discussion

HighEdWeb 2020 Accessibility Summit

The HighEdWeb 2020 Accessibility Summit is a one-day, online conference about digital accessibility in higher education happening June 25, 2020, from 10 a.m. to 5 p.m. CDT.Join in to learn best practices, share stories and connect with your higher ed peers on topics including social media accessibility, web development, user experience and more. Sessions are designed to boost knowledge at every level, from accessibility beginners to technical experts. Conference registration is $25, with…See More
Friday
Erin Jorgensen is now a member of University Web Developers
Friday
Christine Boehler posted a discussion

HighEdWeb 2020 Annual Conference - ONLINE

October 19-20, 2020https://2020.highedweb.org/#HEWeb20     Join us ONLINE for HighEdWeb 2020, the conference created by and for higher education professionals across all departments and divisions. Together we explore and find solutions for the unique issues facing digital teams at colleges and universities. In 2020, the Conference will be held completely online, offering multiple tracks of streamed presentations, live…See More
May 3
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Throughout April, we're hosting webcasts exploring how colleges and universities across North America are responding to the COVID-19 pandemic. Register for the series today! https://bit.ly/2xsXhK9"
Apr 13
Christelle Lachapelle is now a member of University Web Developers
Apr 6
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Download our latest white paper to learn how the demographics of today’s higher ed learners are shifting, and how schools can adapt to meet the needs of these new learners. https://bit.ly/2wTKdgB"
Mar 31
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Join our next webcast with Amrit Ahluwalia from The EvoLLLution to learn about the new "modern learner" in higher education. https://bit.ly/2UuDh2I"
Mar 30
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"As we ride out the latest developments and impact of the coronavirus, there's no better time than now to learn the three Bs of crisis planning. http://bit.ly/2ITVkc2"
Mar 16
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Is your college or university prepared to meet the challenges that come with disasters and emergencies like the coronavirus? Learn how your CMS can help. http://bit.ly/2TUZUM8"
Mar 12
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"Can’t afford the time and money to launch a comprehensive guided pathways model? Register for our FREE webcast to learn tricks for simulating a digital guided pathways experience."
Feb 21
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"With college enrollment decreasing for the 8th year in a row, boosting your college or university marketing efforts is more important than ever. Here's how to get started. http://bit.ly/2vTQAzz"
Feb 20
Christine Boehler posted a discussion

HighEdWeb 2020 Annual Conference

October 18-21, 2020 in Little Rock, Arkansas, USAhttps://2020.highedweb.org/#HEWeb20     Join us for HighEdWeb 2020, the conference created by and for higher education professionals across all departments and divisions. Together we explore and find solutions for the unique issues facing digital teams at colleges and universities. With 100+ diverse sessions, an outstanding keynote presentation, intensive workshops, and engaging networking events,…See More
Feb 19
Christine Boehler posted a discussion

HighEdWeb 2020 Call for Proposals is Open!

The 2020 Annual Conference of the Higher Education Web Professionals Association (HighEdWeb) will travel to Little Rock, Arkansas, this October 18-21 — and the call for proposals is now open! As a digital professional in higher education, we know you have great ideas and experiences to share. From developers, marketers and programmers to managers, designers, writers and all team members in-between, HighEdWeb provides valuable professional development for all who want to explore the unique…See More
Feb 14
Christine Boehler shared Sara Clark's discussion on Facebook
Feb 14
Christine Boehler is now a member of University Web Developers
Feb 14
Brian Bell joined Kevin Daum's group
Feb 14
Brian Bell joined Mark Greenfield's group
Feb 14
Kenneth George is now a member of University Web Developers
Feb 13
John Sterni is now a member of University Web Developers
Feb 6
Sara Arnold commented on Lynn Zawie's group OmniUpdate
"The early-bird discount for OUTC20 ends today! Don't wait... register NOW and save $100! https://outc20.com/"
Jan 24

UWEBD has been in existence for more than 10 years and is the very best email discussion list on the Internet, in any industry, on any topic

About

© 2020   Created by Mark Greenfield.   Powered by

Badges  |  Report an Issue  |  Terms of Service