Openbiz JS 3.0 is start building

99 views
Skip to first unread message

Jixian Wang

unread,
Dec 19, 2013, 10:31:08 PM12/19/13
to openbi...@googlegroups.com, Rocky 孙朝阳, Team Member
Hello Guys,

I m start working on build a nodejs version of Openbiz 3.0
the new framework will based on expressjs and mongoosejs.


For future architecture of a good product, the server side of application will only focus on
build a RESTful(Resourceful) API backend. and the client side will be , web client, iOS or android.

for web clients there are no longer like traditional way to render everything at server side and then output to browsers.
it will be more like a single web page application, we gonna use backboneJS as the middle communication
layer between client and API server.


its will majorly deliver below features:

1. javascript object inherit
2. default data model controller which implements automatically CRUD logic for mongoose data Model
3. multiple apps/ modules architecture and app loader.
4. dynamic URL routes binding
5. command line tool for generate apps and modules, ( working on it )


Let me know if anyone are interested in this project, i can share the code repository with u .

Best regards!

Jixian Wang
jix...@openbiz.me

--------------------------------
China
北京博智开源科技有限公司
+86 400 008 2780
http://www.openbiz.cn

USA
Openbiz Technology LLC
+1 (323) 522-5456
http://www.openbiz.me

Rocky Swen

unread,
Dec 20, 2013, 2:07:10 AM12/20/13
to Jixian Wang, Team Member, openbi...@googlegroups.com

sounds a fun project. count me in :)

Message has been deleted

Alberto Lopez

unread,
Apr 4, 2014, 11:48:14 AM4/4/14
to openbi...@googlegroups.com, Rocky 孙朝阳, Team Member
Hi Jixian !!

Could you please keep me posted about that development ?  WIl it be an Open Source framework ?

Thanks !

Samphan Khamthon

unread,
Apr 4, 2014, 12:37:37 PM4/4/14
to openbi...@googlegroups.com, Rocky 孙朝阳, Team Member

Great job. Could you please share us for repo.Did you interest angularjs to implement your new project?

เมื่อ 4 เม.ย. 2014 23:27 "Alberto Lopez" <alber...@gmail.com> เขียนว่า:
--
You received this message because you are subscribed to the Google Groups "Openbiz Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openbiz-cubi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Samphan Khamthon

unread,
Apr 4, 2014, 12:41:02 PM4/4/14
to openbi...@googlegroups.com, 孙朝阳Rocky, Team Member

My concept Dev backend by Laravel frontend angularjs.

เมื่อ 4 เม.ย. 2014 23:37 "Samphan Khamthon" <sam...@mayavadee.com> เขียนว่า:

Jixian Wang

unread,
Apr 5, 2014, 4:14:29 AM4/5/14
to openbi...@googlegroups.com, Rocky 孙朝阳, Team Member
Hi if you are interesting, 
you may look at this 


and also welcome to follow up our github project


Agus Suhartono

unread,
Apr 5, 2014, 8:26:45 PM4/5/14
to openbiz-cubi
wow, really great


--
You received this message because you are subscribed to the Google Groups "Openbiz Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openbiz-cubi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Agus Suhartono

unread,
Apr 5, 2014, 8:45:04 PM4/5/14
to openbiz-cubi
Jixian, is still use PHP on server side script? or all stack use JS?
I'm see the project, not yet found PHP on it. :D

Agus Suhartono
Binexa Technology | http://www.binexa.com



On Fri, Dec 20, 2013 at 10:31 AM, Jixian Wang <jix...@openbiz.me> wrote:

Jixian Wang

unread,
Apr 6, 2014, 11:36:51 AM4/6/14
to openbi...@googlegroups.com
its all in JS for now

the openbiz-startup github project is OK for test now

Best regards!

Jixian Wang
jix...@openbiz.me 

--------------------------------
China
北京博智开源科技有限公司
+86 400 008 2780
http://www.openbiz.cn

USA
Openbiz Technology LLC
+1 (323) 522-5456
http://www.openbiz.me

For more options, visit https://groups.google.com/d/optout.

Alberto Lopez

unread,
Apr 7, 2014, 5:05:19 PM4/7/14
to openbi...@googlegroups.com
Hi Jixian,

I managed to clone your repository, install node and mongodb (on Windoze) and make all them run, but...

The page is in Chinese !!  I can´t understand a single ideogram !!   

Could you please help me ?  Is there a way to configure it for english ?


On the other side, trying to run "./appbuilder --help"  throws:

module.js:340
    throw err;
          ^
Error: Cannot find module '../lib/cli'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (C:\Users\Alberto.DIGICARD\Documents\GitHub\openbiz-startup\appbuilder:6:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
sh.exe"-3.1$

Any help ?

Thanks !!
  Alberto

Jixian Wang

unread,
Apr 8, 2014, 12:57:38 AM4/8/14
to openbi...@googlegroups.com
hi we will make it in English in a few weeks 
Currently we are still working on building features

The error seems like u have some files missing . Please git pull it again

发自我的 iPhone

Alberto Lopez

unread,
Apr 8, 2014, 11:26:32 AM4/8/14
to openbi...@googlegroups.com
Ok... I´ll have to wait then...

Regarding the error... I managed to fix it modifying the path "../lib/cli" with "cli" in the appbuilder file (perhaps my installaton has some folders misplaced)

Anyway, the "apps/demo/metadata/demo.json" file is empty (0 bytes) in my cloned repository (even after running install-openbiz.sh) so I don´t expect appbuilder may be able to generate any functionality.

I´ll keep an eye on your project... Looks very interesting !!

Alberto


__________________________________________________________________
Saludos,
  Alberto

Mis direcciones de mail son Alber...@gmail.com o Albe...@me.com.

Alberto Lopez

unread,
Apr 8, 2014, 12:04:42 PM4/8/14
to openbi...@googlegroups.com
Another weird ting I noted is:

running "./update-openbiz.sh" inmediatelly after "./install-openbiz.sh" fails with a lot of errors/warnings:

sh.exe"-3.1$ ./update-openbiz.sh
warning: no common commits
remote: Counting objects: 722, done.
remote: Compressing objects: 100% (210/210), done.
emote: Total 722 (delta 475), reused 722 (delta 475)Receiving objects:  93% (672/7
Receiving objects: 100% (722/722), 169.92 KiB | 0 bytes/s, done.
Resolving deltas: 100% (475/475), done.
From node_modules/openbiz
 * remote-tracking branch origin/HEAD -> FETCH_HEAD
 * branch            master     -> FETCH_HEAD
Auto-merging package.json
CONFLICT (add/add): Merge conflict in package.json
Auto-merging README.md
CONFLICT (add/add): Merge conflict in README.md
Auto-merging LICENSE
CONFLICT (add/add): Merge conflict in LICENSE
Auto-merging .gitignore
CONFLICT (add/add): Merge conflict in .gitignore
Automatic merge failed; fix conflicts and then commit the result.
U       .gitignore
A       Gruntfile.js
U       LICENSE
U       README.md
A       RecordMetadata.md
A       doc/AppLoader.js.html
A       doc/Application.js.html
A       doc/Controller.js.html
A       doc/ModelRouter.js.html
A       doc/Module.html
A       doc/Module.js.html
A       doc/Object.js.html
A       doc/ObjectService.js.html
A       doc/conf.json
A       doc/ensurePermission.js.html
A       doc/global.html
A       doc/index.html
A       doc/module-openbiz.html
A       doc/openbiz.controllers.ModelController.html
A       doc/openbiz.controllers.html
A       doc/openbiz.html
A       doc/openbiz.js.html
A       doc/openbiz.loaders.html
A       doc/openbiz.objects.Application.html
A       doc/openbiz.objects.Controller.html
A       doc/openbiz.objects.Module.html
A       doc/openbiz.objects.Module.openbiz.objects.Module.html
A       doc/openbiz.objects.Object.html
A       doc/openbiz.objects.html
A       doc/openbiz.policies.html
A       doc/openbiz.routers.ModelRouter.html
A       doc/openbiz.routers.html
A       doc/openbiz.services.ObjectService.html
A       doc/openbiz.services.html
A       doc/penbiz.objects.html
A       doc/scripts/linenumber.js
A       doc/scripts/prettify/Apache-License-2.0.txt
A       doc/scripts/prettify/lang-css.js
A       doc/scripts/prettify/prettify.js
A       doc/styles/jsdoc-default.css
A       doc/styles/prettify-jsdoc.css
A       doc/styles/prettify-tomorrow.css
A       doc/template/README.md
A       doc/template/publish.js
A       doc/template/static/scripts/linenumber.js
A       doc/template/static/scripts/prettify/Apache-License-2.0.txt
A       doc/template/static/scripts/prettify/lang-css.js
A       doc/template/static/scripts/prettify/prettify.js
A       doc/template/static/styles/jsdoc-default.css
A       doc/template/static/styles/prettify-jsdoc.css
A       doc/template/static/styles/prettify-tomorrow.css
A       doc/template/tmpl/container.tmpl
A       doc/template/tmpl/details.tmpl
A       doc/template/tmpl/example.tmpl
A       doc/template/tmpl/examples.tmpl
A       doc/template/tmpl/exceptions.tmpl
A       doc/template/tmpl/layout.tmpl
A       doc/template/tmpl/mainpage.tmpl
A       doc/template/tmpl/members.tmpl
A       doc/template/tmpl/method.tmpl
A       doc/template/tmpl/params.tmpl
A       doc/template/tmpl/properties.tmpl
A       doc/template/tmpl/returns.tmpl
A       doc/template/tmpl/source.tmpl
A       doc/template/tmpl/tutorial.tmpl
A       doc/template/tmpl/type.tmpl
A       index.js
A       lib/controllers/ModelController.js
A       lib/controllers/ModelSubdocController.js
A       lib/index.js
A       lib/loaders/ModuleLoader.js
A       lib/loaders/PolicyLoader.js
A       lib/loaders/RoleLoader.js
A       lib/loaders/RouteLoader.js
A       lib/objects/Application.js
A       lib/objects/Controller.js
A       lib/objects/Module.js
A       lib/objects/Object.js
A       lib/openbiz.js
A       lib/policies/enforceSSL.js
A       lib/policies/ensureDataACLPermission.js
A       lib/policies/ensurePermission.js
A       lib/routers/ModelRouter.js
A       lib/services/ArrayPaginator.js
A       lib/services/MetadataParser.js
A       lib/services/ModelService.js
A       lib/services/ModelService.json
A       lib/services/ObjectService.js
U       package.json
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>'
as appropriate to mark resolution, or use 'git commit -a'.
U       .gitignore
A       Gruntfile.js
U       LICENSE
U       README.md
A       RecordMetadata.md
...
... repeats several times
...


and, of course, it prevents any other git pull.

I also tried modifying the install-openbiz.sh csript uncommenting the commented git commands but it caused no difference.

I guess I´ll have to wait for a llitle more to allow the cake finish cooking, won´t I ?

Regards,
 Alberto

Alberto Lopez

unread,
May 9, 2014, 10:13:40 AM5/9/14
to openbi...@googlegroups.com
Hi Jixian !!

Any new development on OpenBiz JS ?


El martes, 8 de abril de 2014 01:57:38 UTC-3, Jixian Wang escribió:

Jixian Wang

unread,
May 9, 2014, 10:31:40 AM5/9/14
to openbi...@googlegroups.com
Yea sure!
I will send u something tomorrow

发自我的 iPhone
Reply all
Reply to author
Forward
0 new messages