Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Cenny.js Project - A Javascript Storage Device

Hey guys, I've been working on a project named Cenny.js.

To save a string or integer for use later, maybe even on a different computer, you'd need a server, a php script, and some other complicated stuff. Cenny.js is meant to take away all that jazz. All you need is a little Javascript, no server or PHP necessary.

Think of it as a new kind of directory in the cloud, meant for speedy transfers of data, specialized for Javascript.

You can check Cenny.js out here: http://loadfive.com/cenny Other projects can be found here: http://loadfive.com

I'm open to any feedback or suggestions!

Ben.

Mat Helme
Mat Helme
Treehouse Guest Teacher

Ben Moore unfortunately I can't help you with your issue. :(

However I wanted to tell you how much I really like your gravatar design, pretty snazzy!

-Mat

1 Answer

Hi Ben,

I took a look at Cenny and am impressed. I made a little test at http://jsbin.com/oYOmUDA/1. Reminds me a bit of OpenKeyval. And your site design is great! My only suggestions would be:

  1. Provide a demo on the page so that people can try it out
  2. Consider hosting the code on github if it's open-source so that people can easily view the code and contribute
  3. Clean up the code to have consistent indentation and fix the help link in the source that 404's.

I did have a couple of questions. Did you consider key/value rather than index/value? Key/value usually makes a bit more sense to me semantically. Also, you have quite a bit of code to serialize objects and arrays. Did you consider simply using JSON.stringify and JSON.parse?

Great job!