19 May 2013

The Ruby Reflector

Topic

Ajax

  Source Favicon
By Lee of Blog | The Working Group 18 days ago.
Email

ADO.NET, Entity Framework, Delphi, HTML5, jQuery, Ajax, Backbone, JS, PHP, XML, Razor, ISS, Apache, ASP.NET, MS SQL, CardDav and CalDav protocols

Have created an API for a production environment

Experience with additional database platforms such as Postgres, Redis and Mongo in a live production environment

Able to work in a * nix/ Linux environment

Use source control exclusively, Git preferably

Use ftp to deploy applications

Experience programming …

blog.twg.ca Read
  Source Favicon
By Daniel Bernier of Invisible Blocks almost 3 years ago.
Email

…is this: asynchronous coding with call-backs is hard, but if you treat events (from the user, from ajax HTTP, or whatever) as a collection that you can subscribe to, and you can map and filter those collections with anonymous functions, it's easier. We'll have to see. The speaker, Erik Meijer, gave a pretty similar talk at MIX .

Badges, with Ribbons

They took some flak for the ribbon color-text, especially for the desperate perl hackers , but they were pretty …

invisibleblocks.wordpress.com Read
  Source Favicon
By Sam Goldstein of New Relic 25 days ago.
Email

We've also been investigating the best way to measure the performance of Rails 4 Ajax features like Turbolinks. Ben Weintraub recently pull requested an additional JavaScript event into the Turbolinks gem , and we've been experimenting with approaches for monitoring JavaScript and Ajax performance.

See the following for more information on New Relics support for Rails 4 and Ruby 2:

* Come & Get the Latest New Relic Ruby Agent

* Ruby …

newrelic.com Read
  Source Favicon
By Patrick of Kalzumeus Software 25 days ago.
Email

One of my favorite conferences every year is Microconf , because it focuses on small software businesses, which is where my heart and soul is businesswise. I know a lot of folks can't justify a trip out to Vegas (though you should really come in 2014 if you possibly can — 2013 is only a few days from me posting this and already quite sold out), so I always ask Rob and Mike (the organizers) for a copy of my video so I can produce a transcript and put it online. My 2012 talk …

kalzumeus.com Read
  Source Favicon
On ZURB 3 months ago.
Email

Foundation plugins should now conflict less with other libraries, work better with AJAX, be easier to turn on or off and, on top of all of that, be faster and lighter.

We're also using Zepto.js , a jQuery API compatible library. This dramatically reduces how much your users will need to load (especially on mobile devices) and provides the added benefit of using CSS for animations, taking advantage of hardware acceleration where possible. And if you need jQuery, just swap …

zurb.com Read
  Source Favicon
By Bryan Larsen of Hobo Blog 3 months ago.
Email

…so damn fast without using much client-side UI including two mechanisms for pushState based AJAX and two mechanisms for intelligent hierarchical fragment caching.

several additional tags have gained AJAX support. This includes, but is not limited to <a> , <filter-menu> and <page-nav> .

all tags now use the standard Hobo AJAX support mechanism, which used to be known as Hobo form AJAX. The editor tags in particular have changed …

hobocentral.net Read
  Source Favicon
By Nate Hunzaker of Viget.com Blogs 3 months ago.
Email

…couldn't be easier: var Model = Backbone.Model.extend({ sync: _.debounce(Backbone.Model.prototype.sync, 800) });

Beautiful and Simple

This minor addition achieves exactly what is needed! No matter how furiously the user updates information, the model is now smart enough to send an AJAX request once, a short period after the drag motion has completed. The resulting code lets the user interface immediately respond to the change, while not causing servers to catch on fire.

viget.com Read
  Source Favicon
By Nate Hunzaker of Viget.com Blogs 3 months ago.
Email

…}

});

Beautiful and Simple

This minor addition achieves exactly what is needed! No matter how furiously the user updates information, the model view is now smart enough to send an AJAX request once, a short period after the drag motion has completed. Minor tweaks may be required depending on the purposes of the application, but the resulting code lets the user interface immediately respond to the change, while not causing servers to catch on fire.

viget.com Read
  Source Favicon
On The Pug Automatic 3 months ago.
Email

For example, this works even if the content is added by Ajax:

1 2 click_link ( "Add to favorites" ) page . should have_content ( "Added to favorites" )

Behind the scenes, Capybara will retry finding the content if it's not yet present.

But if you write optimistic UIs that say "Added to favorites" immediately, and only then fire off the Ajax request, you may write a test more like this:

1 2 3 4 Favorite . count . should == 0 click_link ( "Add …

henrik.nyh.se Read
  Source Favicon
By Bryan Larsen of Hobo Blog 3 months ago.
Email

<sortable-collection> have been moved to the hobo_jquery_ui gem

fix for recognize_page_path when used for non-GET requests

fix for AJAX response when no part is specified

<view> has gained a force attribute

ILIKE is now used for automatic scopes on Postgres

hobo_login now respects the return code of its block

the user class now works without a lifecycle

fixes for non-empty relative url root

hobocentral.net Read