<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Impromptu Gets Helper Functions</title> <atom:link href="http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/feed/" rel="self" type="application/rss+xml" /><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/</link> <description>practical web design &#38; development</description> <lastBuildDate>Fri, 18 May 2012 18:53:09 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Kfir Gollan</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10118</link> <dc:creator>Kfir Gollan</dc:creator> <pubDate>Wed, 25 Mar 2009 16:20:41 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10118</guid> <description>I&#039;ve changed some minor, but still important, details.
Link: http://pastebin.com/m5d3f68b8
List of changes:
local changes:
1 - line: 87, if true or undefined is returned from the submit function, close the prompt
2 - line: 255, there is no need to use $(this) when we have $next
3 - line: 263, there is no need to use $(this) when we have $nextGlobal changes:
1 - jQuery objects get a $ prefix, for example $window = $(window) and not window = $(window)
2 - jslint structureAnother change that can make the code more readable is using closure for private functions instead of variablesBest regards,
Kfir</description> <content:encoded><![CDATA[<p>I&#8217;ve changed some minor, but still important, details.<br
/> Link: <a
href="http://pastebin.com/m5d3f68b8" rel="nofollow">http://pastebin.com/m5d3f68b8</a><br
/> List of changes:<br
/> local changes:<br
/> 1 &#8211; line: 87, if true or undefined is returned from the submit function, close the prompt<br
/> 2 &#8211; line: 255, there is no need to use $(this) when we have $next<br
/> 3 &#8211; line: 263, there is no need to use $(this) when we have $next</p><p>Global changes:<br
/> 1 &#8211; jQuery objects get a $ prefix, for example $window = $(window) and not window = $(window)<br
/> 2 &#8211; jslint structure</p><p>Another change that can make the code more readable is using closure for private functions instead of variables</p><p>Best regards,<br
/> Kfir</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10117</link> <dc:creator>trent</dc:creator> <pubDate>Wed, 25 Mar 2009 16:08:11 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10117</guid> <description>Hey Kfir,I too have noticed this.  I&#039;ve been thinking on how to redo the docs to be more resourceful.  I would like to add a section for upcoming change proposals, who&#039;s using impromptu, examples, docs, etc.. I&#039;m pleased that Impromptu has been an active project and is always improving, so suggestions are always welcome.</description> <content:encoded><![CDATA[<p>Hey Kfir,</p><p>I too have noticed this.  I&#8217;ve been thinking on how to redo the docs to be more resourceful.  I would like to add a section for upcoming change proposals, who&#8217;s using impromptu, examples, docs, etc.. I&#8217;m pleased that Impromptu has been an active project and is always improving, so suggestions are always welcome.</p> ]]></content:encoded> </item> <item><title>By: Kfir Gollan</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10116</link> <dc:creator>Kfir Gollan</dc:creator> <pubDate>Wed, 25 Mar 2009 15:11:05 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10116</guid> <description>Hey Trent,
I&#039;m glad to see that you&#039;ve added so many improvements to Impromptu and I&#039;d like to thank you for that.One problem that arised from all the new additions is the size of the docs document. The docs document has become too large and it&#039;ll be nice to split it into a few separate pages.I have a few more changes in mind so I&#039;ll post a comment with some changes soon, this time I&#039;ll remember to make a list of the changes.Best regards,
Kfir</description> <content:encoded><![CDATA[<p>Hey Trent,<br
/> I&#8217;m glad to see that you&#8217;ve added so many improvements to Impromptu and I&#8217;d like to thank you for that.</p><p>One problem that arised from all the new additions is the size of the docs document. The docs document has become too large and it&#8217;ll be nice to split it into a few separate pages.</p><p>I have a few more changes in mind so I&#8217;ll post a comment with some changes soon, this time I&#8217;ll remember to make a list of the changes.</p><p>Best regards,<br
/> Kfir</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10107</link> <dc:creator>trent</dc:creator> <pubDate>Wed, 25 Mar 2009 01:01:26 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10107</guid> <description>Thats great! I always like hearing success stories!  I will add this to my todo list for an option state change speed.</description> <content:encoded><![CDATA[<p>Thats great! I always like hearing success stories!  I will add this to my todo list for an option state change speed.</p> ]]></content:encoded> </item> <item><title>By: Ben K</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10106</link> <dc:creator>Ben K</dc:creator> <pubDate>Tue, 24 Mar 2009 23:28:22 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10106</guid> <description>a state change speed variable would be great too!</description> <content:encoded><![CDATA[<p>a state change speed variable would be great too!</p> ]]></content:encoded> </item> <item><title>By: Ben K</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10105</link> <dc:creator>Ben K</dc:creator> <pubDate>Tue, 24 Mar 2009 22:59:37 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10105</guid> <description>Just finished my first prompt with states, it looks great, and is working well!
for reference,
i use ajax to pull in the state html content
there is a default_state and a delete_confirm statebecause ajax is asynchronous i always return true from the delete_confirm state
and use the callback on the ajax call with $.prompt.close(); to close the prompt on a successful deletethe setStateContent function mentioned by Kfir would be a useful adition to do server side validation
thanks for your work Trent!</description> <content:encoded><![CDATA[<p>Just finished my first prompt with states, it looks great, and is working well!<br
/> for reference,<br
/> i use ajax to pull in the state html content<br
/> there is a default_state and a delete_confirm state</p><p>because ajax is asynchronous i always return true from the delete_confirm state<br
/> and use the callback on the ajax call with $.prompt.close(); to close the prompt on a successful delete</p><p>the setStateContent function mentioned by Kfir would be a useful adition to do server side validation<br
/> thanks for your work Trent!</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10082</link> <dc:creator>trent</dc:creator> <pubDate>Mon, 23 Mar 2009 19:55:35 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10082</guid> <description>Hey Jeffery,The changes were mostly addition of functions.  Previously there was only a function to change defaults, this is the only function that has changed to $.prompt.setDefaults().  I believe these new additions will be very helpful!</description> <content:encoded><![CDATA[<p>Hey Jeffery,</p><p>The changes were mostly addition of functions.  Previously there was only a function to change defaults, this is the only function that has changed to $.prompt.setDefaults().  I believe these new additions will be very helpful!</p> ]]></content:encoded> </item> <item><title>By: Jeffrey Gilbert</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10080</link> <dc:creator>Jeffrey Gilbert</dc:creator> <pubDate>Mon, 23 Mar 2009 18:25:54 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10080</guid> <description>So much has changed since I last wrote source for my stuff using impromtu and jquery. I&#039;m going to love revisiting this stuff later.</description> <content:encoded><![CDATA[<p>So much has changed since I last wrote source for my stuff using impromtu and jquery. I&#8217;m going to love revisiting this stuff later.</p> ]]></content:encoded> </item> <item><title>By: Ben K</title><link>http://trentrichardson.com/2009/03/22/impromptu-gets-helper-functions/comment-page-1/#comment-10071</link> <dc:creator>Ben K</dc:creator> <pubDate>Mon, 23 Mar 2009 05:00:00 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=298#comment-10071</guid> <description>nice! time to start trying out states me thinks,
I&#039;m gonna have a go at using them as confirmation&#039;s</description> <content:encoded><![CDATA[<p>nice! time to start trying out states me thinks,<br
/> I&#8217;m gonna have a go at using them as confirmation&#8217;s</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/15 queries in 0.005 seconds using disk: basic
Object Caching 335/335 objects using disk: basic

Served from: trentrichardson.com @ 2012-05-21 03:54:30 -->
