<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7367794905551891931.post3762210943246292449..comments</id><updated>2009-08-28T16:36:09.855-04:00</updated><category term='Random'/><category term='SubSonic'/><category term='Microsoft'/><category term='tools'/><category term='Outlook'/><category term='SQL Server'/><category term='Cisco'/><category term='Windows'/><category term='Bookmarklets'/><category term='Yamaha FZ1'/><category term='Router'/><category term='Ajax'/><category term='Programming'/><category term='ASP.NET'/><category term='Politics'/><category term='ldap'/><category term='Resources'/><category term='Organization'/><category term='Ruby on Rails'/><category term='NAnt'/><category term='Model-Glue'/><category term='Automation'/><category term='Debuggin'/><category term='charts'/><category term='Updates'/><category term='CSS'/><category term='RegEx'/><category term='Prototype'/><category term='Tracking'/><category term='IIS'/><category term='Google'/><category term='Reactor'/><category term='Motorcyle'/><category term='Web Dev'/><category term='Firefox'/><category term='Cats'/><category term='software'/><category term='Linux'/><category term='ColdSpring'/><category term='Jedi'/><category term='Internet Explorer'/><category term='Ubuntu'/><category term='Free'/><category term='T-SQL'/><category term='JavaScript'/><category term='Wiki'/><category term='ColdFusion'/><category term='Ant'/><category term='.NET'/><category term='Utilities'/><category term='Excel'/><title type='text'>Comments on Aaquagua!: Object Oriented Programming with Prototype.js</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.tech-cats.com/feeds/3762210943246292449/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367794905551891931/3762210943246292449/comments/default'/><link rel='alternate' type='text/html' href='http://blog.tech-cats.com/2008/03/object-oriented-programming-with.html'/><author><name>Boyan Kostadinov</name><uri>https://profiles.google.com/106560991906301776392</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-zjJy3-APe4g/AAAAAAAAAAI/AAAAAAAAAMc/e41cycHcgVQ/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7367794905551891931.post-733087223531392573</id><published>2009-08-28T16:36:09.855-04:00</published><updated>2009-08-28T16:36:09.855-04:00</updated><title type='text'>Simple:
In the above class, the follow are class v...</title><content type='html'>Simple:&lt;br /&gt;In the above class, the follow are class variables.&lt;br /&gt;statusMessage: &amp;#39;&amp;#39;,  &lt;br /&gt;currentLinkID: &amp;#39;myLink&amp;#39;&lt;br /&gt;&lt;br /&gt;You declare them much like you do with functions but without the &amp;quot;function&amp;quot; keyword. Then you access them with:&lt;br /&gt;&lt;br /&gt;this.statusMessage or this.currentLinkID.&lt;br /&gt;&lt;br /&gt;instance variables are declare with &amp;quot;var&amp;quot; like so insider your functions:&lt;br /&gt;var instanceVariable = &amp;#39;&amp;#39;;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7367794905551891931/3762210943246292449/comments/default/733087223531392573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367794905551891931/3762210943246292449/comments/default/733087223531392573'/><link rel='alternate' type='text/html' href='http://blog.tech-cats.com/2008/03/object-oriented-programming-with.html?showComment=1251491769855#c733087223531392573' title=''/><author><name>Boyan Kostadinov</name><uri>http://www.blogger.com/profile/01361725622852028759</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tech-cats.com/2008/03/object-oriented-programming-with.html' ref='tag:blogger.com,1999:blog-7367794905551891931.post-3762210943246292449' source='http://www.blogger.com/feeds/7367794905551891931/posts/default/3762210943246292449' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1646019572'/></entry><entry><id>tag:blogger.com,1999:blog-7367794905551891931.post-67478079229814204</id><published>2009-08-24T10:37:56.943-04:00</published><updated>2009-08-24T10:37:56.943-04:00</updated><title type='text'>Thanks for your great tutorial.

but there are som...</title><content type='html'>Thanks for your great tutorial.&lt;br /&gt;&lt;br /&gt;but there are something you didn&amp;#39;t mentioned:&lt;br /&gt;instance varialbe &amp;amp; class variable&lt;br /&gt;can you tell me how to define them in prototype.js-based way. thx vary much</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7367794905551891931/3762210943246292449/comments/default/67478079229814204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367794905551891931/3762210943246292449/comments/default/67478079229814204'/><link rel='alternate' type='text/html' href='http://blog.tech-cats.com/2008/03/object-oriented-programming-with.html?showComment=1251124676943#c67478079229814204' title=''/><author><name>梦醒时分</name><uri>http://www.blogger.com/profile/05097543381230655584</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tech-cats.com/2008/03/object-oriented-programming-with.html' ref='tag:blogger.com,1999:blog-7367794905551891931.post-3762210943246292449' source='http://www.blogger.com/feeds/7367794905551891931/posts/default/3762210943246292449' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1115086935'/></entry><entry><id>tag:blogger.com,1999:blog-7367794905551891931.post-6153212297620080872</id><published>2008-03-11T16:30:00.000-04:00</published><updated>2008-03-11T16:30:00.000-04:00</updated><title type='text'>Boyan:  Great overview of using Prototype classes ...</title><content type='html'>Boyan:  Great overview of using Prototype classes - very powerful stuff.  The only thing I noticed that might cause some problems for people is the local variable declaration when you initialize the singleton of your Class sampleObject:&lt;BR/&gt;&lt;BR/&gt;Event.observe(window, 'load', function() {&lt;BR/&gt;  var sampleObjectInstance = new sampleObject();  &lt;BR/&gt;});  &lt;BR/&gt;&lt;BR/&gt;- The var should be removed so the reference to the instantiated object is available as a global reference (aka: within the window object).  Am I right in thinking this, or am I missing something?&lt;BR/&gt;&lt;BR/&gt;Keep up the great blog posts, and I am really looking forward to your upcoming presentation at CFUnited!  Hope all is well!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7367794905551891931/3762210943246292449/comments/default/6153212297620080872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7367794905551891931/3762210943246292449/comments/default/6153212297620080872'/><link rel='alternate' type='text/html' href='http://blog.tech-cats.com/2008/03/object-oriented-programming-with.html?showComment=1205267400000#c6153212297620080872' title=''/><author><name>Brian Love</name><uri>brianflove.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tech-cats.com/2008/03/object-oriented-programming-with.html' ref='tag:blogger.com,1999:blog-7367794905551891931.post-3762210943246292449' source='http://www.blogger.com/feeds/7367794905551891931/posts/default/3762210943246292449' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1333462119'/></entry></feed>
