19 April 2014

The Ruby Reflector

Topic

Ajax

  Source Favicon
By Chase Douglas of New Relic 8 days ago.
Email

To be clear, our suspicion of browser extension malware AJAX requests does not mean that the site is hosting malware; instead, this only means that some browsers that visited the site had malware installed.

AJAX request to http://localhost:0

AJAX requests work over TCP at the networking level: TCP sends data to IP addresses and then to specific ports. For example, HTTP traffic usually goes to port 80, and HTTPS traffic usually goes to port 443. While developing the AJAX requests …

newrelic.com Read
  Source Favicon
By Daniel Bernier of Invisible Blocks over 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 Asami Novak of New Relic 8 days ago.
Email

…announced its latest browser monitoring features, JavaScript error reporting and AJAX timing ; we launched our new real-time analytics platform, New Relic Insights at the Gigaom Structure Data conference in New York; and we launched our new Community Forum , which we hope you've already started using.

It's been a busy month for developers all over. Here's a quick roundup of software news and stories that piqued our interest over the last couple …

newrelic.com Read
  Source Favicon
Email

…easily blends within a rails application. Provides a great UI experience with the use of AJAX to fetch events on-the-fly for each month and hooks for user-triggered events (like clicking or dragging an event) for an easy event editing functionality. The view can be easily customized using the configurations provided.

A demo version of this engine implementation can be viewed at http://vinsol.com/fullcalendar-demo

Work in progress : Optimizing Recurring Event functionality.

vinsol.com Read
  Source Favicon
Email

…database design, SQL.

Extensive experience with JavaScript, AJAX, CSS and HTML

Experience with Agile methodologies

Working knowledge of version control systems, SVN, Git.

Experience with test driven development

Knowledge of Eclipse would be an advantage

Knowledge of Linux would be an advantage Salary 50k

Send your resume to contactus@dynamic50.com or give us a call on 02032862879

blog.dynamic50.com Read
  Source Favicon
Email

…"normal" form submission by our Rails application. There is no special magic about an Ajax request as far as our server is concerned.

Ajax JSON Data

Another option we have is to use JSON. In order to do this we need to slightly modify our request headers and tell our server that it needs to do something slightly different to parse our payload. var request = new XMLHttpRequest(); request.onload = callback; request.open("post", "http://localhost:3000/request"); …

robots.thoughtbot.com Read
  Source Favicon
Email

AJAX success, meaning Capybara can't automatically detect when the AJAX completes. If Capybara can't see it, neither can our users. Depending on your application, this might be OK.

One solution might be to have an AJAX spinner in a standard location that gets shown when AJAX requests start and hidden when AJAX requests complete. To do this globally in jQuery: jQuery.ajaxSetup({ beforeSend: function(xhr) { $('#spinner').show(); }, // runs after AJAX …

robots.thoughtbot.com Read
  Source Favicon
On ZURB 3 months ago.
Email

Content being loaded via AJAX

WWW vs. no subdomain

Page load time

Invisible text

Service disruptions

Bad robots file

All of this stuff here from Google

We did all these things. And like we said earlier, we had even fixed most of them with the redesign. We even reached out to Google to figure out what happened, and they finally gave use a short response explaining the problem:

Hello Matt,

Thank you for your email.

It appears that you're serving Googlebot

zurb.com Read
  Source Favicon
Email

Late 2006, I bought another book - Ajax on Rails. I have it in front of me right now. This time, RJS was important already, as they wrote: " Ruby-generated JavaScript ( RJS) is the capstone of Ajax in Rails". Before the concept was introduced in the book, all the server did was returning HTML snippets (data) and the JS libraries inserted it into appropriate places. No such thing as view model, data-binding, etc, yet.

Where are we now?

Rails does a really good job …

andrzejonsoftware.blogspot.com Read
  Source Favicon
Email

…view (index), which loads the JS. After the JavaScripts are initialised, an AJAX GET request is made to /index.json. This retrieves all the data for the list. Apart from that you need an API endpoint for creating, updating and deleting. Note that you don't need an endpoint for new/edit. They become JavaScript views, but they don't need to exist on the server-side.

You turn the existing Rails views into handlebars templates (or whatever that renders the HTML client-side). …

andrzejonsoftware.blogspot.com Read