The Models are Done!

Great news! All parts of our data model are now in Rails!  We used the Ruby gem Devise for the user model, and Prism now has user account capabilities (and the links for “sign in,” “sign out,” and “sign up” on the homepage)! The documents are also in the system and each has its own…. Continue reading “The Models are Done!”.

Building and Texts

Alex and I finally have something to show for all our work! We built the document model for Prism that allows us to add new texts to the database!  It even passes the tests we built!  We’re putting the finishing touches on it now, but we should easily make our deadline of this afternoon, so…. Continue reading “Building and Texts”.

Testing and More Data Modelling

Now that we’ve spent a few weeks focusing on wireframing, we’re back to working on the data model.  We haven’t actually created the models in rails yet, but we have started redesigning it, and it makes much more sense the second time around.  Currently, we’re adding a user model, renaming all the other models, combining…. Continue reading “Testing and More Data Modelling”.

Riding the Rails (And Learning Not to Fall Off)

It’s hard to believe that only a few months ago, I thought the idea of using a web framework to generate a website seemed like taking the easy way out.  Although I’d heard of Django and Rails, I didn’t really see the point of them.  Apparently I had a lot to learn.  Last week was…. Continue reading “Riding the Rails (And Learning Not to Fall Off)”.

Waxing metaphorical with Ruby

I must preface this post with a few disclaimers: First, The Wizard of Oz is my all-time favorite movie. Second, I am an English graduate student, so it’s in my nature to wax metaphorical. And last, I’m currently in a Ruby-induced fever which has severely limited my ability to think/write clearly, so this post will be one…. Continue reading “Waxing metaphorical with Ruby”.

The Joys of Ruby

It’s official: I think I might like Ruby.  Granted, I think I still slightly prefer Python, but I’m reaching the point where Ruby syntax seems to make sense and I understand methods, variables, the different types of loops, conditionals, and iterators, and I’m ready to learn more about classes, attributes, and instance variables.  The exercises…. Continue reading “The Joys of Ruby”.

On XForms

Several months ago, I wrote a post about my XForms development in the Scholars’ Lab as part of a research project. I’m currently working on two research projects that utilize the standard: EADitor (Encoded Archival Description management and dissemination framework) and Numishare (geared towards online delivery of numismatic collections, though other artifacts can be represented).…. Continue reading “On XForms”.

Why Ruby?

Stemming from a Twitter conversation last month, I thought it would be a good idea to describe — in more than the 140 character bursts that Twitter allows — why we at the Scholars’ Lab often promote Ruby, opposed to one of the other 4 or 5 languages we develop with. This isn’t an attempt…. Continue reading “Why Ruby?”.

Archives