Hi there, I am a designer... not much into coding... just with basic HTML and CSS. I am working on a web site project... the site has some parts which are made in flash... But now a days we see a lot of sites which uses effects, but are not made in flash.. effects like fade, flip etc.. Majorly image effects... So i was thinking i will have flash, but if the browser does not detect flash a static page / section will be displayed... being a designer i can manage all the design part and a bit of logic as well... but i am confused as to which language is used for such non flash effects.. is it AJAX, JQuery or Javascript.. all seems to be confusing Ca someone help me here as to what should i consider using apart from flash...!
All three are javascript and nothing else. Ajax is just javascript that communicates with the server. jQuery is a javascript library of routines. CSS3 now offers a collection of animated effects used in Flash that you might consider but they only work in modern browsers and not IE.
drhowarddrfine is correct. I suggest you begin look at JQuery as it is library with AJAX included as well. It has most animations and effects out of the box, and is easy to use. However you do need basic knowledge of programming.
Hey guys thanks for your inputs.. So i recon JQuery is the way to go... Now i just need to learn / find how to make simple image effects like image rollovers and image sliders... so that i can show them in absence of flash...
Actually that can be done with basic javascript, and as qualitypoint says, it is better if you have a basic understanding of javascript before using libraries. However is your call, just trial by error
JQuery = A framework(library) that uses AJAX (using javascript). Other frameworks also exist: Prototype, MooTools, etc.. AJAX = a theory / practice (that has actually been around longer than the name AJAX has).. "Asynchronous JavaScript and XML" to update your page dynamically Javascript = a client side language (not to be confused with Java) ... you can also find lots of pre-existing frameworks that already do many Ajax fancy affects... try Ajax Daddy, or just google Ajax examples / Ajax frameworks
a framework is not the same thing as a library. Nor is Ajax only used to update web pages. And JavaScript is not client side only.
Cool, that's what I love about forums... There's always someone helpful to expand on others help (or correct incorrect statements) Can you expand on that drhoward Is there a relationship between frameworks and libraries? (possibly a little picky for the answer to this thread, but it would be good to answer) What else does Ajax do other than help update web pages? (for the users example, I think we were just talking about updating images, but it would be good to expand on this too) And when is JavaScript used as a non-client side language, and is this a common scenario? (I'm just interested) .. I'm here to learn (not to fight, so forgive me if I at all sounded rude, it's not intentional and also very late here) <in non techy terms, otherwise you'll probably loose me>
A framework is just like it sounds, an outline or frame to use to construct a project; like a template. A library is a collection of commonly used routines. Ajax can be used to send or receive data from client to server in the background but it may have nothing to display on the page. An online editor can do spellcheck or input verification for example. JavaScript is a general purpose language that's integrated into most browsers but that doesn't make it client side only. I do not know how well it's integrated into servers but have read discussions of non-browser JavaScript usage in the past. Google for some of those.
As every one told you that the JavaScript library is known as jQuery. It is the client side scripting of HTML is simplified by designing a JavaScript library which is also compatible with all the browsers available for use.jQuery can be used very easily with Struts 2 Framework. It has support for all types of browsers and is very popular JavaScript library in use these days. Use of jQuery with Struts2 framework includes navigating a document, selection of DOM elements, creation of animations, handling of events and last but not the least is development of AJAX applications. You can use jQuery with Struts 2 Framework very easily.
Before learning JQuery, see if there are any plugins that will do the job. If you are after a simple slider or gallery, there are heaps of those available. Do a google search too because many good plugins are not in the repository.
jQuery is one of many such libraries, not THE library. Now you're complicating things. He'd have to learn Java to use Struts.