Git Product home page Git Product logo

arasu's Introduction

Note: arasu is in beta ,still not yet ready for deployment.

Arasu : A Lightning Fast Web Framework

Note: arasu development only work on dart enabled browsers like dartium or dart enabled chrome browser.

Arasu is a Next Generation Full Stack Web framework written on Go language & Dart language.

Features

  • lightning fast, because of golang and dartlang
  • use RDBMS and BIGDATA for serverside store
  • use IndexedDB and Angular Dart for clientside store,clientside framework
  • use TDD default by golang and dartlang
  • use BDD with selenium and Spinach (this is in alpha)
  • automatic build system.

Installation

  • Install Golang then add golang binary into system PATH and verify the sucessfull installation by
~$ go version
go version go1.3 linux/amd64
  • Install Dartlang(Dart SDK) then add dart-sdk binary into system PATH and verify the sucessfull installation by
~$ dart --version
Dart VM version: 1.5.3 (Thu Jul 23 01:43:07 2014) on "linux_x64"
  • Install Mysql then add mysql binary into system PATH and verify the sucessfull installation by
~$ mysql --version
mysql  Ver 14.14 Distrib 5.5.37, for debian-linux-gnu (x86_64) using readline 6.2
  • Install Hbase then add hbase binary into system PATH and verify the installation is sucessfull by
~$ hbase version
//some valid output

finally

  • Install Arasu Framework by

~$ go get github.com/arasuresearch/arasu

Creating a New Arasu Project

Part 1

Creating scaffold for relational Database Management System aka RDBMS (mysql)

~$ arasu new demo
~$ cd demo
~$ arasu dstore create
~$ arasu generate scaffold Admin name password:string age:integer dob:timestamp sex:bool
~$ arasu dstore migrate  

Now start the server:

~$ arasu serve

// you will get output like "You don't have a lockfile, so we need to generate that:" by DArt Pub Manager ,this will take few more seconds (this will occur at first time only).
// 
// then 
//you may get dart-sdk "pub downlad error" for few times , but you can ignore and stop the command by CTRL + C .
//and start the same command again until sucessfull start.
  
~$ arasu serve

after successfull start....

now visit http://localhost:4000/ on Dartium or dart enabled chrome browser.

To open dartium 
~$ ./DART-SDK-INSTALLED-DIRECTORY/chromiun/chrome 

then visit

http://localhost:4000/admins.html

There you can play !!!

Part 2

Creating scaffold for BigData (hbase)

stop the arasu server by pressing CTRL + C

open another terminal and start bigdata...

~$ start-hbase.sh
~$ hbase thrift start

leave this terminal to run thrift deamon. come back to old terminal then

~$ arasu dstore create --dstore bigdata

this will result in failure

unfortunately Hbase thrift V1 Binary server is not supporting to create database through API Calls so we have to create it manually . to do that

~$ hbase shell
> create_namespace 'demo_development'
> quit

close hbase shell , then

~$ arasu generate scaffold User Profile:{FirstName:String,LastName:String,Age:int,Dob:DateTime} Contact:{Phone:String,Email:String} --dstore bigdata
~$ arasu dstore migrate --dstore bigdata

Now start the server:

~$ arasu serve

now visit

http://localhost:4000/users.html

on dartium browser, there you can play !!!!!

lets dive into Full Tutorial Arasu Framework To learn more...

Contribute

Contribution are welcome Here.

License

Released under the MIT License.

arasu's People

Contributors

thaniyarasu avatar

Watchers

Adam Singer avatar James Cloos avatar  avatar

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.