Erbix: server-side JavaScript host platform compatible with commonjs

Source: Internet
Author: User
Tags openid cloud hosting hosting

Erbix is the cloud platform for building and deploying JavaScript applications. In addition to supporting rinjojs, commonjs modules, and PostgreSQL, it also supports Scalable On-Demand host allocation.

Erbix is a platform for building and deploying JavaScript applications on the cloud. It features support for rinjojs, commonjs
Modules, PostgreSQL and On-Demand scalable hosting.

Erbix has recently launched a market for javascript programs. It provides several tutorials and two open-source programs fully written in Javascript for reference.

Also it has recently launched
Marketplace for JavaScript apps, featuring some tutorials and two new open-source applications written completely in JavaScript.

Infoq had a small talk with Mihai Roman from the erbix team and thanked them for their time.

Infoq had a small Q & A with Mihai Roman from the erbix team, regarding their offering:

 

Infoq: Can you tell me how erbix was conceived, how it evolved into an architecture, and how its program structure was roughly?

Infoq: cocould you give us an unsupported tural overview of how erbix is setup and how an application is structured?

You must have a Web account to create, install, or lease javascript programs on erbix. You can apply for one or start with openid.

Each account is isolated from each other and cannot share resources directly. Each account has the following resources:

Erbix offers web accounts that can be used for creating, installing or hosting server-side JavaScript apps. Users can sign up or simply log in with openid to get started.

All accounts are isolated from each other and cannot share resources directly. Each account has the following resources:

  • A virtualized File System (static resources used to store JavaScript code and images) A Virtual File System (used for storing the JavaScript code and static resources such as images)
  • Dedicated PostgreSQL database (stored program data) A dedicated PostgreSQL database (for storing apps data)
  • Site List, each site describes how the URL prefix path maps to the entry point function (we use the commonjs jsgi 0.3 standard as the entry point) a list of sites, each describing how URL prefix paths are mapped to JS entry point functions (we use the commonjs jsgi 0.3 standard as entry-points ).

Each request has a specific URL that loads a ing module and calls the jsgi entry point function. According to the commonjs 1.0 module specification, other JavaScript modules can also be loaded.

Every time a request is made for a specific URL, A mapped module is loaded and the jsgi entry point function is called. Other JavaScript modules can be loaded according to commonjs module 1.0 specs.

These module files are packaged into the application directory. The files added to this directory can be viewed as application. JSON files conforming to the commonjs package Specification 1.0. After packaging, you can publish the program to erbix marketplace to share the results with you.

Several module files can be packed into an application folder. by adding in that folder a commonjs packages 1.0 specs file (application. JSON) It can then be published to the erbix marketplace and shared with others.

You can install the marketplace program in two ways (the publisher can choose one or both of them ):

Apps from the marketplace can be installed in two ways (the publisher has the option to choose one or both possibilities ):

  • File to account copy files into account
  • Run the program run app directly from the marketplace directly

Users without JavaScript coding experience can also quickly install the marketplace program. All data generated by the program is stored in the PostgreSQL database. Users with no (JavaScript) coding experience can install and run apps from the marketplace in seconds. All the data produced by those apps resides in the account's PostgreSQL database.

 

Infoq: If you compare it with other common JavaScript platforms, such as node. js and akshell, what material support will you provide? How does youroffering compare to the other JavaScript platforms out there, likenode. JS, akshell, etc.

After careful consideration, erbix chose the Ringo-based JavaScript Engine. In short, ringojs is a good Mozilla rhinojavascript compiler package. Nodejs is an alternative to ringojs. Ringojserbix is based on the ringojavascript engine, which was chosen after careful consideration; simplyput, ringojs is a brilliant wrapper around und
Mozilla rhino javascriptinterpreter. node. JS is a ringojs alternative.

Technically, erbix is compatible with commonjs server JavaScript host platform. We don't have a limited number of vendors, and we hope to make the minimum effort to port programs from erbix. Users can export their programs to the Javascript platform on a private ringojs host or another server ..

Technically, erbix is a commonjs compliant server-side JavaScript hosting platform. there's no vendor lock-in and minimal to none effort is necessary to port apps to and from erbix. users will be able to export their apps on privately hosted ringojs or other
Server-side JavaScript platforms.

Unlike akshell or appjet (now hosted by jgate), erbix provides tools to create truly sophisticated web programs. The dedicated PostgreSQL database is accessible, indicating that full SQL support can be achieved through the SQL console or code. This is only available in erbix.

Unlike akshell or appjet (currently hosted by jgate), erbix provides the tools to create fully fledged web applications. the dedicated PostgreSQL database is accessible by the means of an SQL console or programaticaly with full SQL support; a feature found
Only in erbix.

Infoq: What is the typical process of developing, debugging, testing, deploying, and monitoring a program in erbix? What is the typical workflow for developing, debugging, testing, deploying and monitoring an app in erbix?

You can easily create files and folders through an online editor or upload. The folder can be uploaded or downloaded in. Zip or .tat.gz format. The source code version control function will be added in the future. Therefore, you can create a program in the online environment of erbix.com or use ide offline.

Files and folders can be created using the online editor or can be uploaded easily. folders can be uploaded/downloaded from/to. zip or .tar.gz archive. future source versioning support may be added. so users can choose to create the apps online on erbix.com
Or offline in their ide of choice.

By ing the URL prefix to the jsgi entry point function, the application can be deployed immediately.

Apps are deployed instantly by mapping an URL prefix to the jsgi entry point function.

The unit test and logging modules are available for debugging or monitoring. We are improving these functions and modules.

Unit testing and logging modules are available for debugging and monitoring purposes. We are currently working on improving these features/modules.

Infoq: What is erbix suitable for? What kind of user cases do you see? What are the common use cases you see erbix being more suitable?

For small enterprises to create or install programs, erbix is very suitable; for developers and consumers, erbix is also very friendly: We provide developers with highly productive tools (marketplace, JS storage host, Browser Editor) to create your program. Consumers can easily select and install applications from the marketplace to maintain control over the data content in their PostgreSQL account.

In combination with the current server-side JavaScript ecosystem, we feel that erbix will be an excellent solution for testing, promoting, and sharing server-side javascript programs.

Erbix is a great environment to create or install apps for small businesses. erbix is both developer and consumer friendly: we offer to developers excellent productivity tools (marketplace, JS hosting, Browser Editor) for creating great apps; the customers
Can easily install the apps from the marketplace and keep control of their data in their own PostgreSQL account.

Given the current status for the server-side JavaScript, we consider erbix to be the best solution for testing, promoting and sharing server-side JavaScript apps.

Infoq: What is the status of the current service, and what path diagram will it tell us in the future? What is the current status of the service and what is your roadmap for the future?

We are now in Beta. Every user with an oepnid can enjoy our services. For example, the running www.erbix.com is an erbix program, and there are two demonstration programs built through the online editor. We plan to get rid of Beta when major is released next time.

We are currently in open beta testing. everyone can log in with openid and start using the service. we are running www.erbix.com as an erbix app, we 've built two apps by only using the online editor and we recommend CT to get out of beta in the next major release.

We are improving the following aspects of the Platform: we are working on improving using aspects of the Platform:

  • Documentation. Documentation
  • Availability (more intuitive for non-technical users ). Usability (make it more intuitive for non technical users)
  • Ui support for custom domain names. Ui support for custom domain names
  • Better dynamic resource allocation (for peak periods ). Better dynamic resource Scaling (handle traffic peaks)
  • Monitoring/statistics. Monitoring/Statistics

At the same time, our team also has people responsible for developing ready-to-use programs and releasing them to marketplace, so that everyone can use them or customize them. Meanwhile, part of ourteam will develop production-ready apps that will be published on themarketplace for everyone to use and customize.

Erbix is a member of a series of JavaScript cloud platforms that have emerged over the past few months, including akshell, which was previously reported by infoq.

The erbix offering is one of a series of JavaScript cloud hosting platforms that have emerged in the last months, such asakshell, which has been covered by infoq.

On infoq, findJavascript,Node. jsAndCommonjsMore information.

You can find more information regardingJavascript,Node. jsAndCommonjs,
Right here on infoq!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.