Show HN: Fire.js: Visual Node.js Development with JSON, MongoDB and Cloudfoundry
firejs.firebase.co
firejs.firebase.co
Any feedback will be highly appreciated :)
Edit: o de venezuela? Igual, muy bien!
As I see it, this is no longer "Node.js, JSON, MongoDB, and Cloudfoundry". It certainly uses all of those technologies, but in reality, you are learning "Fire.js".
Even with a polished version, it doesn't seem like a developer would ever learn how to use the underlying technologies in an expressive, applicable manner. It just comes off as another excuse for developers to side-step learning about and getting into "the thick of it".
I just can't see giving up my text editor to click around a web interface to write code. It just seems orders of magnitude slower to me.
It looks cool and I appreciate the effort, I just have a hard time figuring out the benefit of fire to me as a developer.
{ "@DoThis": null, "@ThenDoThat":null }
Under the hood everything will be async.
If you want to give it another try, load the video at minute 10:58 and I will try to explain what it does and how it does it :)
You will see how I check if the file "package.json" exists, if it exists then I parse the content of the file. If it doesn't exists then I return false.
Because I didn't use javascript then I didn't have to write any callbacks to achieve the behavior. It's a lot simplier with JSONScript.
The biggest mental leap for me is that you are using JSON objects to define sequential code. JSON defines an object as unordered. Obviously your compiler maintains order properly, however it just "feels wrong".
Like I said there is no way you can convince me to write code in a browser (unless there is an absolutely magical benefit), so writing fjson manually looks difficult both in the amount of extra syntax, as well as trying to connect the data to what it's doing.
The last thing that would hold me back is the debugging experience. Will i get back which lines im my documents are causing runtime errors, is there any static checking in place to make sure the strings of code are syntactically correct?
It's a big leap for me, but that being said, I definitely applaud you for developing something new and experimenting. I'm interested in seeing where this evolves.
I'm also improving the error reporting for the stable version, it's kinda hard to figure out where the error occurred in this alpha version.
btw, you can develop without the IDE, there is a command line utility called 'firejs' that you can use to launch the apps. If you want to know more, check the tutorials. https://github.com/firejs/fire/wiki/Tutorials
Thanks for your comment jim :)