• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

What the purpose of libraries ?

 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kris Hadlock,

What the purpose behind using libraries (prototype... etc) with Ajax?
What libraries do effects on Ajax web application? Is this better to apply instead of without using it? (If it is then why) I am expecting that your book covers these concepts with clear depiction. I believe (Graphical illustration gives you better and quick understanding instead of words)

Thanks,
 
Author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Saif,

If you create a library properly you can reuse it in other Ajax applications. This is the same concept of creating object libraries in other languages. My book covers the creation of components in depth and includes graphics of the finished products in most cases. There are many effects libraries out there, http://script.aculo.us is one of the more popular ones.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your response Kris,

But I am a beginner to using prototype in Ajax could you please provide me some resources(example) of implementation of it.

Thanks
 
Kris Hadlock
Author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean prototype the library or prototypes as in JavaScript objects?
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh! sorry actually I forgot to mansion the library after prototype.

Yeah prototype the library
 
Kris Hadlock
Author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have read about it a bit and it looks very useful, but I have never actually used the library. I'm sure you could find some information on it with a simple Google search. Sorry I couldn't be more helpful.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kris,

I think you are right Kris,
Google would be my first place to ask for the example of code.

Thanks again.. Kris to make me clear on my question,
 
Sheriff
Posts: 67595
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Protoype (spelled with a capital P) is about the only Javascript library I've ever found truly useful without being invasive.

But I am a beginner to using prototype in Ajax could you please provide me some resources(example) of implementation of it.



The book Prototype and Scriptaculous Quickly, which I wrote in conjunction with Dave Crane (of Ajax in Action fame) is due to be out in the beginning of 2007, and is currently available from the Manning Early Access Program.

Ajax in Practice, another book I worked on (with Dave Crane and Jord Sonneveld) makes heavy use of Prototype (and takes a survey of other libraries as well) and focuses on using Protoype and Object-oriented Javascript to reign in Ajax complexity. It's also coming out after the 1st of the year, and available now through MEAP.
[ December 21, 2006: Message edited by: Bear Bibeault ]
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bear Bibeault:

Protoype (spelled with a capital P) is about the only Javascript library I've ever found truly useful without being invasive.

Ajax in Practice



Thanks for your information bear,

Originally posted by Bear Bibeault:
I'm not big on frameworks. I like Protoype because it's small, and useful and doesn't get in the way, or make me write code that is useless in any other environment.



your above post make me interested into this.

Thanks again bear,
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic