Giter VIP home page Giter VIP logo

ulole-framework's Introduction


Ulole-Framework

Ulole Framework (v 1.0.40 Development)

<?php
namespace app\controller;

class WelcomeController {
    /**
     * Hello world page
     * 
     * @return string
     */
    public static function about() {
        return "Hello world!";
    }
}

This is just the development version. If we are ready soon there is a new version! :D

Installation

wget --no-cache https://raw.githubusercontent.com/interaapps/uppm/master/uppm -O uppm
php uppm init:fast
php uppm install ulole-framework

or

bash <(wget -qO- https://pastefy.ga/3dBl06Hs/raw)

Update Packages:

php uppm update

Choosefriendly

You don't want to use Composer or NPM? You don't want to use WebPack? You don't need to! Ulole-Framework don't need any extra PackageManager. Information: NPM and Composer are preinitialized, you can simply remove them. Ps. Ulole is build on UlolePHPPackageManager (UPPM). But you dont need to use it!

Alternatives

We've got some alternatives for useful tools. We have got to an alternative to WebPack UloleCompile. It's a simple Bundler (And a template engine) that bundels JS Codes into one file and CSS into one file. (More in docs) We've also got UloleModules. It's a Package Manager made for the UloleFramework More in docs)

Features

  • Useful CLI with custom commands support (php cli)
  • Build in TestServer (php cli server)
  • Database ORM (Multi DB Support, Multible SQL server types usable)
  • Database Migration-Tool
  • Template Engine
  • Ulole Modules
  • A Router
  • Template Engine
  • CSS and JS Combinder
  • Easy MultiLanguagesupport implementation
  • Object-oriented
  • Sessionmanager
  • Useful utils
  • Fast
  • Little folder size (1.4 MB [In version 1.0.28])

Generate

database

php cli generate database testtable

migration

php cli generate migration testtable

Preview

Controller

<?php
namespace app\controller;

class AboutController {
    /**
     * Hello world page
     * 
     * @return string
     */
    public static function about() {
        return "Hello world!";
    }
}

Orm

<?php
namespace databases;

use modules\uloleorm\Table;

class UserTable extends Table {

    public $id,
           $username, 
           $password;

    public function database() {
        $this->_table_name_ = "user";
        $this->__database__ = "main";
    }

}

Migration

<?php
namespace databases\migrate;

use modules\uloleorm\migrate\Migrate;

class UserTable extends Migrate {
    public function database() {
        $this->create('user', function($table) {
            $table->int("id")->ai();
            $table->string("username");
            $table->string("password", 155);
        });
    }
}

Debug

https://i.imgur.com/W8otsxK.png

ulole-framework's People

Contributors

julianfun123 avatar

Stargazers

 avatar

Watchers

 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.