Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    mfm
    mfm is offline
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how long does it take?

    I was given a Ruby on Rails project as a part of an interviewing process for a job.

    The application already has basic user authentication and the
    registration/login page, but nothing else. But it requires testing for
    the authentication as well.

    How long does it take to implement the following application?
    -------------------------------------------------------------------
    Implement an online_store with 2 types of users:

    1. Customer: logs in and sees a page with products, each includes name
    and price. They select any number of those products and add them to the
    shopping cart. They go to their shopping cart and are able to check out
    unless there is 0 items in the cart. No credit card processing required,
    but the order should be saved. After that, they go back to the product
    page, now it contains a link to their order status. After they click on
    this link, they see a summary of their orders.

    2. Admin: logs in and sees a link to the store statistics. After they
    click on this link, they see a table of all the products sold, including
    total counts and total money. They are able to sort the statistics chart
    by any of the columns.

    It should include testing (not specified but I do Cucumber/rspec/unit
    testing), validation (if specified?), efficient queries and usable
    interface.
    --------------------------------------------
    I have my own estimate and how long they give to me, but would be
    curious what other people think of it.
    Last edited by mfm; 03-17-2012 at 07:06 AM.

  • #2
    mfm
    mfm is offline
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No developers here?

    If anybody thinks I'm trying to get a free quote, it's REALLY a coding assignment and I'm trying to understand if those guys are insane . My own estimate, it would take about a weekend. They give me 3 hours, by clock, or 20 minutes per a feature (working). I was supposed to do it today, but canceled. Forgot to mention, the position description doesn't require experience in RoR and TDD, and the assignment comes with instructions "starting with RoR". Any beginner here can tell me how long it would take them to implement it?
    Last edited by mfm; 03-17-2012 at 07:03 AM.

  • #3
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Afraid you won't find a lot of ruby developers here.
    I learned ruby when I thought that it would become popular. I haven't touched it in about 6 years now, and wouldn't know where to start with it again either.
    Personally I've been lobbying to have the ruby forum buried for awhile now; given its pulled about 300 posts in over 6 years is an indication of the future of ruby.

    All I can tell you is if you are using RoR, that won't take long to do at all.

  • #4
    mfm
    mfm is offline
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fou-Lu View Post

    All I can tell you is if you are using RoR, that won't take long to do at all.
    Yes, it takes a few minutes to download an e-commerce gem.

    The point is, this is from scratch, and also using TDD, single table inheritance, build web page etc.

    I used an online tool to count words just in tests for 1 feature for a similar project of mine (practically the same feature), and used 50 words as an average typing speed. It takes 10 minutes typing tests for 1 feature, I would put another 5 minutes typing in view/controller, 15 minutes just pure typing for a feature. I would put another 5 minutes finding/opening/closing files and running the tests. Given, they give 20 minutes per feature, all this time is spent only for file manipulation.
    Last edited by mfm; 03-17-2012 at 07:56 PM.

  • #5
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rails is pretty simple.

    I'm guessing the company who interviewed you told you to write cucumber features, specs/unit tests for all the production code you write.

    An experienced rails programmer will able to implement a new feature roughly every 5-10 minutes, with full test coverage.

  • #6
    New Coder
    Join Date
    Nov 2011
    Location
    Austin, Texas, USA
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fou-Lu View Post
    Afraid you won't find a lot of ruby developers here.
    I learned ruby when I thought that it would become popular. I haven't touched it in about 6 years now, and wouldn't know where to start with it again either.
    Personally I've been lobbying to have the ruby forum buried for awhile now; given its pulled about 300 posts in over 6 years is an indication of the future of ruby.

    All I can tell you is if you are using RoR, that won't take long to do at all.
    This is really discouraging to me as I've been investing a lot of time over the last few weeks learning Ruby/RoR. Can you suggest an active community for Ruby/RoR?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •