[rails-oceania] [Job] Ruby on Rails Developer - Sydney

2012-09-02 Thread Taryn East
JobReady needs an amazing Ruby on Rails developer to join a strong RoR team for exciting development on large scale systems – www.jobready.com.au JobReady has very sound revenue streams and is a leading software supplier to Employment Services and Training Providers th

Re: [rails-oceania] testing for n+1 query regressions

2012-09-02 Thread Paul Annesley
Each sub-resources I add to an API representation introduces an n+1. I'd like a test to fail until I adjust the eager-loading accordingly. Seems pragmatic, despite the dangers of testing for performance optimisations. I've gone with this for the moment: https://gist.github.com/3606669 The QuerySp

Re: [rails-oceania] testing for n+1 query regressions

2012-09-02 Thread Mark Wotton
I think it's a pretty bad idea to mix up benchmarking and correctness tests. mark On Mon, Sep 3, 2012 at 1:56 PM, Tim McEwan wrote: > Could you set bullet* to run in your test env and assert that you don't see > its log output? It would slow your tests down a fair bit though. > > Don't worry, I

Re: [rails-oceania] testing for n+1 query regressions

2012-09-02 Thread Tim McEwan
Could you set bullet* to run in your test env and assert that you don't see its log output? It would slow your tests down a fair bit though. Don't worry, I'm aware this is a terrible idea - but hopefully it gets the ball rolling. * https://github.com/flyerhzm/bullet On Monday, 3 September

[rails-oceania] testing for n+1 query regressions

2012-09-02 Thread Paul Annesley
I recently read a post about writing tests to catch n+1 query regressions, but I have no idea where it was. I'm not sure it's a good idea (or possible to do in a non-fragile way), but it would be useful at this phase of an app I'm working on. Does anybody remember the post, or have any thoughts

[rails-oceania] [JOB] Sydney - Mid/Senior Developer

2012-09-02 Thread Carl Woodward
Hi all, 88cartell (http://88cartell.com) is looking for a mid to senior developer for either long term contract or permanent placement. 88cartell is a consultancy with clients like Ninefold, DHL and Bang the Table with a strong focus on making complicated applications simple. Our stacks inclu

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Julio Cesar Ody
Oh you're right, if you'd like to use libraries other people write. There's Backbone-UI for one, but by all means, check this out -> https://github.com/documentcloud/backbone/wiki/Extensions,-Plugins,-Resources I find however that stuff such as these oughta be simple enough that you can write it

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Sebastian Porto
What Julio is saying is exactly what I didn't like about Backbone. In Backbone there is a lot of DIY. What is the point on using a framework then if you will end up writing a lot of basic functionality on top of it? Julio Cesar Ody 3 September 2012 11:01 AM Bear in mi

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Michael Pearson
On Mon, Sep 3, 2012 at 11:01 AM, Julio Cesar Ody wrote: > > > If you have worked with Backbone for more than 1 project, and you're > still writing everything from scratch, you're doing it wrong. By now I > have a library of classes for implementing common patterns (e.g.: > rendering a collection i

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Julio Cesar Ody
Bear in mind that there's a huge difference between writing behaviour code and using data-binding like mechanisms. Comparing Angular with Backbone for instance is a lot like comparing apples to oranges, end results aside. A lot of JS frameworks work like this: you add certain attributes to tags, t

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Glen Maddern
+1 for AngularJS. I did a talk about it at Melbourne Ruby (slides here: http://sup-angularjs.herokuapp.com/) In my mind, Ember starts at "what do large JS applications look like", and works backwards to a framework. AngularJS asks "what would make building JS applications easier", and builds up fr

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Tim Uckun
Also check out Angular JS from google. It's more in the realm of Ember than Backbone. It's quite mature and well documented. -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegrou

[rails-oceania] Re: client-side mvc with Rails

2012-09-02 Thread Sebastian Porto
Let me give my 2c based from my experience. First I feel is always best to go with feels more productive and will be easier to maintain for your team, if this is fetching html chunks from the server then this is probably the best option. But of course depends on what you are doing. Second keep

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Ivan Vanderbyl
Yeah very much so. If giving ember a go I recommend using the latest master. The current 1.0.rc release is missing some niceties around error handling. Regards, Ivan Vanderbyl Sent from my iPhone On 03/09/2012, at 7:37 AM, Michael Pearson wrote: > This. > > You've convinced me to check out

Re: [rails-oceania] client-side mvc with Rails

2012-09-02 Thread Michael Pearson
This. You've convinced me to check out Ember.js as my first CS JS framework over Backbone. Would I be correct in comparing Backbone to Sinatra/CherryPy/Turbogears and Ember.js to Rails/Django? Much to the consternation of my "lean"-programming friends, I love Rails because it answers many questi