Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What the purpose of libraries ?

 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • 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,
 
Kris Hadlock
Author
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • 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
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean prototype the library or prototypes as in JavaScript objects?
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh! sorry actually I forgot to mansion the library after prototype.

Yeah prototype the library
 
Kris Hadlock
Author
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • 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,
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • 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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic