TechHui

Hawaiʻi's Technology Community

Leo D
  • Male
  • Honolulu, HI
  • United States
Share on Facebook
Share

Leo D's Friends

  • Jussi Sipola

Leo D's Groups

 

Leo D's Page

Profile Information

Occupation:
Software Developer
Company:
University of Hawaii at Manoa
Areas of Interest (Robotics, Software Architecture, Green Energy, Web 2.0, etc.):
web development, artificial intelligence
Software Language Proficiencies / Interests:
C, Java, Javascript, Lisp, Python, Ruby

Leo D's Blog

Google API Authorization Using Oauth2 in Ruby on Rails

Say you are writing a web app that will help its users optimize their companies' online marketing.  In that case your web app would need to be able to access its users google analytics web site data.  The way you allow your site users to authorize your web app to to access their google analytics data, is with Oauth2. Oauth2 is a security protocol for third party application authorization.  When a user visits your web app, you present them with a link that will take them to a google page…

Continue

Posted on April 22, 2015 at 6:30pm

Ruby on SOAP

The slightly misnamed SOAP (Simple Object Access Protocol) protocol is in a sense a type-strong version of the much better know JSON interchange format.  The Ruby community clearly doesn't have as much affection for SOAP as the Java and .Net communities, but that makes sense as Ruby is a dynamic language with duck typing, which meshes better in philosophy with the lightweight JSON format, rather than the much more expressive and heavyweight SOAP format.

If given the choice between…

Continue

Posted on March 9, 2015 at 7:00pm

Importing large data sets in Rails and Postgres

In one of my recent projects, I needed to import a lot of data from csv files into a database as persisted domain objects in a web application.  This file import functionality wasn't just for application bootstrapping or a one-time legacy data migration, but for a recurring task that allowed the web app to receive updates from a third party vendor.

The number of records in each file could reach into the millions, so I knew from the outset that the plain-vanilla method of creating…

Continue

Posted on September 16, 2014 at 3:00pm

writing a json api service in Rails

In the past few years, I've written a few json API's in rails.  There are a few trends driving the popularity of API's, one being Service Oriented Architecture, and another being client side rendering.  

Service Oriented Architecture can apply to all services, not just browser accessible ones.  It consists of making services available via a standard like SOAP or JSON, to increase re-usability and modularity, SOAP and JSON being the two most popular SOA protocols.  SOAP is XML-based,…

Continue

Posted on September 5, 2014 at 5:00pm

Comment Wall

You need to be a member of TechHui to add comments!

Join TechHui

  • No comments yet!
 
 
 

Sponsors

web design, web development, localization

© 2017   Created by Daniel Leuck.   Powered by

Badges  |  Report an Issue  |  Terms of Service