<?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-6992129293870658291.post3755343507583631575..comments</id><updated>2010-03-14T09:55:32.281+11:00</updated><category term='Possible'/><category term='Config'/><category term='ABS'/><category term='Script'/><category term='General'/><category term='Impossible'/><category term='Defect'/><category term='Standard Interactivity'/><category term='Tools'/><category term='Popup'/><category term='EAI'/><category term='Toolbar'/><category term='Solution'/><category term='Challenge'/><title type='text'>Comments on Impossible Siebel: ABS Framework - Prototype Library</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.impossiblesiebel.com/feeds/3755343507583631575/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html'/><author><name>Jason Le</name><uri>http://www.blogger.com/profile/13322055780076477366</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='25' height='32' src='http://1.bp.blogspot.com/_0K3SSCqbRRE/S3QBsRu5RRI/AAAAAAAAAL0/ZfXMxMmWBHk/S220/me.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-5461962586616164117</id><published>2010-03-14T09:55:32.274+11:00</published><updated>2010-03-14T09:55:32.274+11:00</updated><title type='text'>Hi Matt, 

Before implementing prototypes, i recom...</title><content type='html'>Hi Matt, &lt;br /&gt;&lt;br /&gt;Before implementing prototypes, i recommend your project engage an architect that specialises in eScript to design your script library. Since the script library will be a core part of your application, it needs to be robust, improper implementation of prototypes in eScript can lead to memory leaks. &lt;br /&gt;&lt;br /&gt;IMHO i wouldnt design a framework to meet the standards of existing code, the existing code should be re-written to utilise the framework.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/5461962586616164117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/5461962586616164117'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1268520932274#c5461962586616164117' title=''/><author><name>Jason Le</name><uri>http://www.blogger.com/profile/13322055780076477366</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='25' height='32' src='http://1.bp.blogspot.com/_0K3SSCqbRRE/S3QBsRu5RRI/AAAAAAAAAL0/ZfXMxMmWBHk/S220/me.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-935476482'/></entry><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-1039009951713860936</id><published>2010-03-12T23:20:46.407+11:00</published><updated>2010-03-12T23:20:46.407+11:00</updated><title type='text'>While starting from scratch and understanding that...</title><content type='html'>While starting from scratch and understanding that objects are different from arrays and the &amp;quot;correct&amp;quot; use of the &amp;quot;in&amp;quot; statement one thing, when trying to add these features to well established code you may find the use of &amp;quot;in&amp;quot; to iterate through arrays. Rather than rewrite all the code I&amp;#39;d rather avoid adding any custom methods to Array.prototype (and also Object.prototype) for this reason. I don&amp;#39;t think I&amp;#39;ve seen any code that *has* to be in either (but am open to examples!)&lt;br /&gt;&lt;br /&gt;Take the IsIn example mentioned: a method &amp;quot;inList&amp;quot; could be writen into String.prototype that takes an array as it&amp;#39;s input - so to see if &amp;quot;Hello&amp;quot; is in the list &amp;quot;Hello&amp;quot;, &amp;quot;Goodbye&amp;quot;:&lt;br /&gt;&lt;br /&gt;&amp;quot;Hello&amp;quot;.inList([&amp;quot;Hello&amp;quot;, &amp;quot;Goodbye&amp;quot;]); // true&lt;br /&gt;&amp;quot;Hello!&amp;quot;.inList([&amp;quot;Hello&amp;quot;, &amp;quot;Goodbye&amp;quot;]); // false&lt;br /&gt;&lt;br /&gt;Personally, I think this reads a little better than the IsIn example.&lt;br /&gt;&lt;br /&gt;For the PS method, while interesting, again I don&amp;#39;t see a compelling reason for it being essential to be added to the Array.prototype - I think this could just as easily be added to a Utility class in the Framework, or a Service class (to encapsulate functionality relating to Business Services) - a slightly more logical grouping than being a member of the Array class perhaps?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/1039009951713860936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/1039009951713860936'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1268396446407#c1039009951713860936' title=''/><author><name>MattW</name><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://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-138989367'/></entry><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-857521114555501480</id><published>2010-03-12T01:15:09.451+11:00</published><updated>2010-03-12T01:15:09.451+11:00</updated><title type='text'>MattW, as Jason wrote, by using &amp;quot;in&amp;quot;, yo...</title><content type='html'>MattW, as Jason wrote, by using &amp;quot;in&amp;quot;, you are accessing all properties of that object. You will get array&amp;#39;s &amp;quot;length&amp;quot; property too. You must filter all non numerical indexes. Your approach is good when you know that there can be large gaps between indexes.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/857521114555501480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/857521114555501480'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1268316909451#c857521114555501480' title=''/><author><name>Anonymous</name><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://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-878340613'/></entry><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-4590564920360834194</id><published>2010-02-15T11:52:09.159+11:00</published><updated>2010-02-15T11:52:09.159+11:00</updated><title type='text'>Hi Matt

[oPS] creates an array object with oPS as...</title><content type='html'>Hi Matt&lt;br /&gt;&lt;br /&gt;[oPS] creates an array object with oPS as the first element. PSToStr returns a string representation of the PS.&lt;br /&gt;&lt;br /&gt;The for in loop is used for object or associative array iteration. If u have a reason   to use this on numerical arrays, u can filter out custom properties using the hasOwnProperty method, but this only works under the T engine.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/4590564920360834194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/4590564920360834194'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1266195129159#c4590564920360834194' title=''/><author><name>Jason Le</name><uri>http://www.blogger.com/profile/13322055780076477366</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='25' height='32' src='http://1.bp.blogspot.com/_0K3SSCqbRRE/S3QBsRu5RRI/AAAAAAAAAL0/ZfXMxMmWBHk/S220/me.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-935476482'/></entry><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-3797639348081150048</id><published>2010-02-14T02:52:17.060+11:00</published><updated>2010-02-14T02:52:17.060+11:00</updated><title type='text'>I&amp;#39;ve been doing some of my own tinkering tryin...</title><content type='html'>I&amp;#39;ve been doing some of my own tinkering trying to see if I can recreate some of the effects and benefits of the framework as I see them - I&amp;#39;ve had some success so far, as well as some head-scratching! &lt;br /&gt;&lt;br /&gt;This line intrigues me: [oPS].PSToStr();&lt;br /&gt;&lt;br /&gt;Ok - to me this looks like it creates an Array object, which would have the propertyset as a member. PSToStr is being invoked on the Array object - so I assume a function has been added to the Array&amp;#39;s prototype using Array.prototype.PSToStr = function () { ... } or perhaps to the Object object&amp;#39;s prototype. This seems to follow what you&amp;#39;re suggesting anyway.&lt;br /&gt;&lt;br /&gt;Am I in the right ball park?&lt;br /&gt;&lt;br /&gt;The problem I&amp;#39;ve found with this approach (or indeed, trying to add any custom methods to either the Array or Object&amp;#39;s prototype is that when you try to get at the Array members using &amp;quot;in&amp;quot;:&lt;br /&gt;&lt;br /&gt;var mycars = new Array(&amp;quot;);&lt;br /&gt;mycars[0] = &amp;quot;Saab&amp;quot;;&lt;br /&gt;mycars[1] = &amp;quot;Volvo&amp;quot;;&lt;br /&gt;mycars[2] = &amp;quot;BMW&amp;quot;;&lt;br /&gt;&lt;br /&gt;for (x in mycars)&lt;br /&gt;  {&lt;br /&gt;   // do something with mycars[x]&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;The method we&amp;#39;ve added using the .prototype shows up as a member also!&lt;br /&gt;&lt;br /&gt;Any thoughts?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/3797639348081150048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/3797639348081150048'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1266076337060#c3797639348081150048' title=''/><author><name>MattW</name><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://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-676311111'/></entry><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-6586376646245780667</id><published>2010-02-02T22:39:27.210+11:00</published><updated>2010-02-02T22:39:27.210+11:00</updated><title type='text'>Hi Narayan,

The ABS Framework is proprietry, it i...</title><content type='html'>Hi Narayan,&lt;br /&gt;&lt;br /&gt;The ABS Framework is proprietry, it is not shipped with any version of Siebel. You need to be on a project that has ABS to access it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/6586376646245780667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/6586376646245780667'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1265110767210#c6586376646245780667' title=''/><author><name>Jason Le</name><uri>http://www.blogger.com/profile/13322055780076477366</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://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-935476482'/></entry><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-1180163431306461026</id><published>2010-02-02T22:16:42.165+11:00</published><updated>2010-02-02T22:16:42.165+11:00</updated><title type='text'>Can I know where I can access the ABS framework? I...</title><content type='html'>Can I know where I can access the ABS framework? Is the prototype library included as part of Siebel 8.0 or later versions? Any help on this regard is appreciated.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/1180163431306461026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/1180163431306461026'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1265109402165#c1180163431306461026' title=''/><author><name>Narayan Patro</name><uri>http://siebeltips.wordpress.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://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-790534874'/></entry><entry><id>tag:blogger.com,1999:blog-6992129293870658291.post-3300844261559649046</id><published>2009-12-03T22:16:38.516+11:00</published><updated>2009-12-03T22:16:38.516+11:00</updated><title type='text'>Any idea how Object inheritance works in the ST en...</title><content type='html'>Any idea how Object inheritance works in the ST engine?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/3300844261559649046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6992129293870658291/3755343507583631575/comments/default/3300844261559649046'/><link rel='alternate' type='text/html' href='http://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html?showComment=1259838998516#c3300844261559649046' title=''/><author><name>Anonymous</name><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://www.impossiblesiebel.com/2009/11/abs-framework-prototype-library.html' ref='tag:blogger.com,1999:blog-6992129293870658291.post-3755343507583631575' source='http://www.blogger.com/feeds/6992129293870658291/posts/default/3755343507583631575' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2075643544'/></entry></feed>
