Hacker Newsnew | past | comments | ask | show | jobs | submit | green's commentslogin

Frankly, I really liked RubyMotion. It doesn't save you from necessity to learn Cocoa touch, but it just makes the experience much more interesting with Ruby. The whole process was very very simple.


Let me know if you think it can be improved. I am happy to make it easier. :-)


I hope it will make things easier, or at least would server as a collection of code snippets "how to" :-) Let me know if you have any questions, or would like to have something beyond what you see there. Feel free to email me (http://alexeypro.com) or just simply contribute to the project. Thanks!


Hard to say if it's a common choice. I've had few projects where Node.JS was the choice of backend, and MySQL was the database, because our frontend was PHP/static HTML/CSS/JS stuff. DB is not really important. Node.JS shines on the backend, and it doesn't really matter to what it talks to. MySQL can be decently fast, but you can as well use Node.JS solely with, say, Riak or Mongo, or just Redis? In this "crud-bones" project I am use Redis as a cache layer, but you can use it as "storage" as well...


That's definitely something what I don't want to do. Not that it's bad, or something.. just it defeats the purpose of this app. The goal is to have some skeleton or base to start your own stuff. There is no reason to make it so flexible so it'll generate all that stuff. Besides, as you can see, my app works with Mongo or MySQL DB by simply changing ONE SINGLE LINE of the code. Which is kinda cool, I think. No ORMs, no special "preparations". A little bit work on the model class, and you are done.

Besides, I mentioned that already, we all know we are going to change this code for our own needs. So it needs to be simple, straightforward and interchangeable. That was my goal.


I am glad if you found it helpful, and happy I didn't sit on it.. yeah, it's far from been all shiny and polished, but the intention is to get basic Node.JS CRUD project up and running, so you can focus on actual project's goals, not (while simple but still time-wasteful) basic implementations. Especially if you need to wire together DB connections, Express, EJS, ...


Actually, I don't -- I am trying to keep the app extremely simple, and straightforward. I don't want new Rails app, neither want Java-style-framework. All of us are going to cut it back and forth to make to suit our next project needs, so why bother?

The switch between using Mongo and MySQL -- is just using different DAO -- https://github.com/alexeypro/crud-bones/blob/master/src/api-... I kept the "interfaces" (yeah, not interfaces but contracts, 'cause JavaScript has no interfaces, but you know what I mean) same, and that makes the switch EASY.

In short-term plans I want to update README as for the deployment instructions to other Node.JS hostings, and probably throw some simple caching layer on top of Redis, and definitely some unit testing. Then it should be all set. Just basics to get me up & running with new backend effort :-)

Frankly, even those things are not necessary. They will make the app more complicated, but let's be honest -- we use Node.JS because it's lightweight and minimalistic approach, so why create an ugly-beast-which-does-it-all-its-own-way?


congrats!


if you would spend few minutes of your time looking what Andrew Warner gives for free on Mixergy you'd probably never ask such stupid "serious" question.


Thanks for this valuable feedback! Want also to mention that if any of you will be hiring, or will need some help with screening -- use us! Register now (http://www.strawlink.com/referrer/hackernews) and you'll get your accounts credited right away. We will be turning off the new registration credits soon, but I want to say that if any of you will need Strawlink and will not have money to spend -- let me know -- [email protected] I will do my best to help. As I mentioned before - Strawlink's goal is to help facilitate the screening process, and if we will learn how to do it better -- all of us will benefit. Everybody who create new jobs opportunities, and everybody who is looking for a job.

Thanks!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: