GithubHelp home page GithubHelp logo

soiu / framework Goto Github PK

View Code? Open in Web Editor NEW
20.0 8.0 7.0 43.34 MB

Solu Framework is a full featured, ORM-backed, isomorphic framework using RPython, Pouch/CouchDB and React.

Home Page: https://solu.js.org

License: BSD 3-Clause "New" or "Revised" License

Python 91.11% JavaScript 5.38% CSS 0.61% HTML 2.90%
couchdb rapydscript orm pwa relational-databases odoo pouchdb nodejs nosql relational-model

framework's Introduction

Solu Framework

A full featured, ORM-backed, isomorphic framework using RPython, Pouch/CouchDB and React.

Purpose of this project

  • Replacing or making an alternative to Odoo and Python's synchronous, I/O blocking design. Allowing us to develop asynchronous and performant ERP and IoT Apps.

  • Support some parallel programming paradigms consisting of Threads/Worker, Async-Await, Promises, Promise.all, Serverless, and Micro Services.

  • Support hardware interfacing and IoT on the Client (Desktop/Phone) and Server, using technologies like WebBluetooth, WebUSB, Cordova, Cordova/Node.js General Purpose I/O, React Native Modules, and we planned to support Microcontrollers or SBCs too

  • Build a React client app for major platforms

  • Use RPython for readability and performance.

Transition to RPython and New DB engine

We are transitioning major parts of our framework namely the language (RapydScript) and the database engine. The reason we choose RPython is plenty, if not many. An example would be that RPython compiles directly to WebAssembly making it faster than Javascript and on-par with the hottest languages like Rust and Go, and it is a great language to apply compile-time computation, execution, and code refactoring as every global variables, function decorators, and any code that is called outside of the main function are evaluated at compile-time.

Difference from the old version

Although it is obvious this transition have breaking changes, the new ORM API syntax will still be exactly the same for the most parts. Only some functions and properties will be written like the Python/Odoo's counterpart (like the search method will use the list and tuple combination instead of an *args, and default properties of fields will not be changed to defaults like it used to).

All feedback and advice are appreciated

framework's People

Contributors

faridfibrianto avatar rafi16jan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

framework's Issues

how does the app.conf , server.pyj and client works ?

Hi, i managed to run
rm -f /.pyj-cached && node ./node_modules/.bin/rapydscript -p modules -x server.pyj
but i am confused about the app.conf , where does it points to , what i mean is that

master_password = neverfindout
default_url = http://localhost
port = 8079
client_db = 'local_client_db'
server_db = 'local_server_db'

when uses this app.conf , it does not seems to work ? i have a local odoo v10 instance
at http://localhost:8069 , but after i run this , it replaced and took over the port ,

i have specified the above as port 8079 , but it still show Running on port 8069 , hard code
somewhere ? how to actually run it properly and test it ?

thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.