⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Grocery CRUD and Node.js!!!



davidoster

davidoster
  • profile picture
  • Member

Posted 25 November 2013 - 14:21 PM

Just a thought...

Could we have Grocery CRUD working as a module to http://nodejs.org/?

I don't know even if it is possible... Of course the whole philosophy behind the curtains should change but... we must admit... node is the next hot thing! Why we shouldn't flow with the e-stream???

 

And that's what I was reading that got me into thinking about this...

http://shivalibari.com/blog/2013/11/node-js-with-mysql/

 

[member=web-johnny] I am sure he has some thoughts about this! Right??? ;-)

 

 

P.S. To the members of the forum: Please forgive me, I am extremely busy lately and this is the sole reason for not having an active role at responding to questions as I used to


davidoster

davidoster
  • profile picture
  • Member

Posted 25 November 2013 - 15:54 PM

To whom is interested this is really cool!

https://github.com/felixge/node-mysql


web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 25 November 2013 - 20:15 PM

Hello [member='davidoster'],

 

Actually is a very good idea... but (there is always a but isn't it?), the thing is that grocery CRUD needs to firstly be framework-free in order to be language-free later :) . What I mean is that grocery CRUD now is stacked to Codeigniter and I am trying to move it to a framework independent first and later to think about moving to other languages as well. For now I am busy with the image CRUD that will be available for laravel. So for now my first priority is to create a version for laravel and see how easy you can move from the one framework to another.

 

Another idea should be that we can create a separate project for grocery CRUD in nodejs from scratch. However I want to do it correctly and have the same philosophy everywhere so we can have the same updates. For example, let's say that we want to update a new version in grocery CRUD. This means that we have to implement the same features everywhere (e.g. to nodejs, maybe to RoR in the future) so it will not be so efficient I think.

 

Just to make sure that we are at the same page. I am not saying "No, we are not gonna do this" but instead I am just saying "It will be difficult".

 

By the way, I agree that nodejs and mySQL connection is really cool :)

 

Cheers

Johnny


davidoster

davidoster
  • profile picture
  • Member

Posted 25 November 2013 - 21:43 PM

Exactly to all you've mentioned!

I knew from the beginning that more or less that would be your answer, but because here in Grocery CRUD we are open to suggestions we discuss everything concerning these stuff. And in that sense I thought, yeah! cool idea to be able to move from one one technology to the other and keep the same features!

 

Mind you, currently only a few hands help out at the core development of Grocery CRUD and even though it is a very young project we are already talking about framework independence! And I totally agree, that the next stage should be to move to other frameworks. And if and only if this seems to be in a good pace then we can discuss about moving to different languages as well.

 

Just to conclude on this, imagine the immerse value that GC will have if it will support something like node.js.

 

And a last minute thought, because of the asychronous operation of node.js, think if it is possible to support the database layer via node-mysql... possible?; silly?; no point doing this?

 

Hmmm...


web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 25 November 2013 - 22:08 PM

And a last minute thought, because of the asychronous operation of node.js, think if it is possible to support the database layer via node-mysql... possible?; silly?; no point doing this?

Hahaha, to be honest I thought that too. But there is really not point of doing that. However if anyone one to start a new fork for nodejs we will be more than happy to help :)

 

By the way have you seen the ghost blogging? It is brand new idea and it is based on nodejs  ;)  Have a look if you have time. It is pretty cool.

 

Cheers
Johnny


web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 25 November 2013 - 22:10 PM

Oh and by the way:

 

Just to conclude on this, imagine the immerse value that GC will have if it will support something like node.js.

+1000 likes to that :D


davidoster

davidoster
  • profile picture
  • Member

Posted 26 November 2013 - 10:15 AM

Check this out, https://github.com/johnroers/dbCRUD


davidoster

davidoster
  • profile picture
  • Member

Posted 28 November 2013 - 06:35 AM

And just to conclude, check (if you don't know) this db agnostic MVC framework that out of the box has many similarities with GC!

https://github.com/balderdashy/sails