The June 2013 meeting of LRUG will be on Monday the 10th of June, from 6:30pm to 8:00pm. Our hosts Skills Matter will be providing the space, at their offices on Goswell Road; The Skills Matter eXchange. Registration details are given below.
Agenda
State Transitions Are People Too
JB Steadman says:
In this talk I present a simple ActiveRecord-based alternative
to the many popular state machine gems.
Suppose you’re dealing with a school application system.
Applications can be submitted, rejected, approved. Then
you would have
class Submission < StateTransition end
and so on. StateTransition is an STI subclass of
ActiveRecord::Base.
Inside each ‘concrete’ transition subclass, AR
validations determine whether the transition can be
created, given current system state. Callbacks make
changes to other models that result from the
transitions, as well as trigger other effects like emails.
This shifts emphasis from the models to the transitions
themselves. Model classes don’t get cluttered with
logic related to multiple transitions – that logic
lives in the transition classes. It works nicely
with REST. You are literally creating an Approval,
rather than “approving”. Logging of transitions is
front and center. Nobody has to learn a new lib and
you’re never beholden to yesteryear’s state machine
gem-of-the-month.
JB originally proposed this talk for Ruby Manor 4 and you can read more about his proposal on vestibule
Application Example based on Gov.uk public code
Jairo Diaz says:
This talk describes an experience of reusing the public code
available from the GOV.UK project. It
shows how we can implement custom customer service flows
based on the SmartAnswers project.
Pub
We’ll finish the formal talk-based part of the meeting at about 8pm and start the informal pub-based part about 5 minutes later in The Slaughtered Lamb. If you can’t make the talks, do come along just for the pub, someone can get you caught up on what happened and no-one will know you weren’t there!
Also, the nice folks at Yammer are putting some money behind the bar to provide some drinks for us, so there are even more reasons to make it along!
Registration
To secure a place at the meeting you must register with our hosts Skills Matter. It helps to make sure we have the room laid out with enough chairs, and in extreme cases that we get priority on the larger rooms over other groups using the space on the same night. Also, it’s polite (don’t forget MINASWAN), so please do register with Skills Matter.
You can also follow this meeting on lanyrd, but this is not a meaningful way to tell Skills Matter you wish to attend. It’s just for the lols, innit?
Posted by Murray Steele on May 25, 2013
The May 2013 meeting of LRUG will be on Monday the 13th of May, from 6:30pm to 8:00pm. Our hosts Skills Matter will be providing the space, at their offices on Goswell Road; The Skills Matter eXchange. Registration details are given below.
Agenda
DCI with Ruby & Rails
Dawid Skłodowski says:
Data Context Interaction is recently invented programming paradigm,
which aims at separating behaviour from data model, by extracting
interactions into roles, which can be played by objects in various
contexts.
This presentation is going to give brief introduction to DCI,
propose ways to implement roles' injection in Ruby and discuss
how DCI could be used to supplement Rails' MVC paradigm.
Come get dirty with mruby
Randy Morgan is going to lead us in an exploration of mruby:
While most of us know what mruby is, few of us have had a
chance to kick the tires, poke around a bit and see what
makes it tick. In this ~30 minute workshop-presentation,
we will help each other to get mruby built locally, do a
classic “Chunky bacon” test, and have a go at writing our
own rbgems to extend the language with custom functionality.
Bring your laptop, and get your hands dirty with mruby.
Randy will be sending out instructions on pre-requisites in a few days to the mailing list. Don’t miss it!
Drinks
Also, the nice folks at Team Prime are providing some drinks during the talks, so there are even more reasons to make it along! There’ll be a range of beers and soft drinks available.
Pub
The talks usually finish up around 8pm, but that’s not the end of the meeting! We continue at The Slaughtered Lamb which is about 5 minutes away. Attendance at the talks is not a requirement on coming to the pub, so if you can’t make it to them do feel free to turn up afterwards!
Registration
To secure a place at the meeting you must register with our hosts Skills Matter. It helps to make sure we have the room laid out with enough chairs, and in extreme cases that we get priority on the larger rooms over other groups using the space on the same night. Also, it’s polite (don’t forget MINASWAN), so please do register with Skills Matter.
You can also follow this meeting on lanyrd, but this is not a meaningful way to tell Skills Matter you wish to attend. It’s just for the lols, innit?
Posted by Murray Steele on Apr 18, 2013
The April 2013 meeting of LRUG will be on Monday the 8th of April, from 6:30pm to 8:00pm. Our hosts Skills Matter will be providing the space, at their offices on Goswell Road; The Skills Matter eXchange. Registration details are given below.
Agenda
Better security for your web applications
Najaf Ali wants to school us on security:
He’ll be covering:
- How to improve the quality of your software by thinking like an attacker.
- Technical walkthroughs of real-life vulnerabilities.
- Practical tips for keeping your software secure over the long term.
Say hello to Padrino
Xavier Riley is going to tell us all about Padrino:
Rails showed us the power of the full-stack framework.
It was good, but some of us felt the power was at the
expense of lightness (and joy?).
Sinatra showed us the joy of simple. The bare essentials
to start working with http requests gave us back some
of the Zen of creating a codebase that did exactly what
it should and nothing more. Sadly, this Zen meant
reinventing wheels that Rails had already rolled.
Padrino came after both of these projects and the
developers learnt from them. They re-imagined the
full stack using Sinatra as a base and building from
there. Sinatra++ you might think.
There’s a longer write up on the Ruby Manor 4 vestibule where Xavier originally proposed the talk.
Pub
After the talks we head over to The Slaughtered Lamb for a drink or two and the opportunity to chat. If you’re unlucky enough to be unable to make the talks, you are more than welcome at the bar.
Registration
To secure a place at the meeting you must register with our hosts Skills Matter. It helps to make sure we have the room laid out with enough chairs, and in extreme cases that we get priority on the larger rooms over other groups using the space on the same night. Also, it’s polite (don’t forget MINASWAN), so please do register with Skills Matter.
You can also follow this meeting on lanyrd, but this is not a meaningful way to tell Skills Matter you wish to attend. It’s just for the lols, innit?
Posted by Murray Steele on Mar 21, 2013