Creating Bookmarks – Delicious Clone

by woody2shoes on March 3, 2011

 

This is a basic implementation of creating bookmarks for our delicious clone using the Rails built in REST.

I also found out that you need the haml-rails gem in order to get your views to generate in HAML.

Download 255.3 MB
Download (iPhone & iPod) 119.2 MB

  • mf

    Thank you kindly for your hard work. I really like your efforts. But why are you wasting your time with HAML. It is really unnecessary as html and CSS are working nicely as is and why are you adding HAML complexity to it. Who ever think it is easy with HAML need to get their head checked. Personal opinion and not having a go at anyone.

    • http://teachmetocode.com Charles Max Wood

      I think HAML is one of those things that you can use if you feel like it makes a difference for you. I had a few requests for it, so I’m fiddling with it.

      Here are a few things I like about it:

      - You don’t have to close tags.
      - Indentation and syntax make it somewhat easier to read.

      That being said, if you’re good with HTML and CSS, then it probably feels like an extra layer that doesn’t add much. I think this one comes down to what works for you. Personally, I’m still on the fence.

    • http://www.langfeld.co.uk Ben Langfeld

      HAML is far nicer to work with than vanilla HTML, but that’s only something you’ll understand afrer you’ve worked with it a little. It looks odd to begin with, but you’ll not be able to live without it after a few days.

  • mf

    Thank you kindly for your hard work. I really like your efforts. But why are you wasting your time with HAML. It is really unnecessary as html and CSS are working nicely as is and why are you adding HAML complexity to it. Who ever think it is easy with HAML need to get their head checked. Personal opinion and not having a go at anyone.

    • http://teachmetocode.com Charles Max Wood

      I think HAML is one of those things that you can use if you feel like it makes a difference for you. I had a few requests for it, so I’m fiddling with it.

      Here are a few things I like about it:

      - You don’t have to close tags.
      - Indentation and syntax make it somewhat easier to read.

      That being said, if you’re good with HTML and CSS, then it probably feels like an extra layer that doesn’t add much. I think this one comes down to what works for you. Personally, I’m still on the fence.

    • http://www.langfeld.co.uk Ben Langfeld

      HAML is far nicer to work with than vanilla HTML, but that’s only something you’ll understand afrer you’ve worked with it a little. It looks odd to begin with, but you’ll not be able to live without it after a few days.

  • http://rsludge.myopenid.com/ rsludge

    nice screencast, thanks
    but why your users don’t have names or logins?

    • http://www.langfeld.co.uk Ben Langfeld

      That’s just the default for Devise. You can change that if you like. Check out the Devise wiki.

  • http://rsludge.myopenid.com/ rsludge

    nice screencast, thanks
    but why your users don’t have names or logins?

    • http://www.langfeld.co.uk Ben Langfeld

      That’s just the default for Devise. You can change that if you like. Check out the Devise wiki.

  • jpfinlay

    Are you aware that the audio levels on your last 2 screencasts are *really* low? It’s nice of you to share your skills, but more than a bit off-putting if you are struggling to hear the commentary…

  • jpfinlay

    Are you aware that the audio levels on your last 2 screencasts are *really* low? It’s nice of you to share your skills, but more than a bit off-putting if you are struggling to hear the commentary…

  • Culley Smith

    I have only been working with Haml for a little while. Over at screencasts.org, they wrote a simple rake task to “hamilfy” existing erb files. It can then be run using ‘rake hamilfy:convert’. It might be worth looking into.

    Also, I believe the ‘haml-rails’ gem is another option to bundle in place of ‘haml’. haml-rails provides better support for generators, from my understanding.

    Thanks for the casts, been quite useful.
    Culley

    • http://teachmetocode.com Charles Max Wood

      Funny you should mention that. The video I recorded last week (and will post tonight) is exactly what I built.

  • Culley Smith

    I have only been working with Haml for a little while. Over at screencasts.org, they wrote a simple rake task to “hamilfy” existing erb files. It can then be run using ‘rake hamilfy:convert’. It might be worth looking into.

    Also, I believe the ‘haml-rails’ gem is another option to bundle in place of ‘haml’. haml-rails provides better support for generators, from my understanding.

    Thanks for the casts, been quite useful.
    Culley

    • http://teachmetocode.com Charles Max Wood

      Funny you should mention that. The video I recorded last week (and will post tonight) is exactly what I built.

Previous post:

Next post: