All Projects → moluwole → Bast

moluwole / Bast

Licence: mit
Simple but Elegant Web Framework

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Bast

Latke
🌀 一款以 JSON 为主的 Java Web 框架。
Stars: ✭ 781 (+1493.88%)
Mutual labels:  orm, framework, mvc
Flexicms
Flexible site management system Flexi CMS
Stars: ✭ 61 (+24.49%)
Mutual labels:  orm, framework, mvc
Ouzo
Ouzo Framework - PHP MVC ORM
Stars: ✭ 66 (+34.69%)
Mutual labels:  orm, framework, mvc
Ubiquity
Ubiquity framework
Stars: ✭ 480 (+879.59%)
Mutual labels:  orm, framework, mvc
Elefant
Elefant, the refreshingly simple PHP CMS and web framework.
Stars: ✭ 188 (+283.67%)
Mutual labels:  orm, framework, mvc
Iris
The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
Stars: ✭ 21,587 (+43955.1%)
Mutual labels:  framework, mvc
Lux
Build scalable, Node.js-powered REST JSON APIs with almost no code.
Stars: ✭ 556 (+1034.69%)
Mutual labels:  framework, mvc
Mormot
Synopse mORMot ORM/SOA/MVC framework
Stars: ✭ 607 (+1138.78%)
Mutual labels:  orm, mvc
Phpboot
☕️ 🚀 tiny & fast PHP framework for building Microservices/RESTful APIs, with useful features: IOC, Hook, ORM, RPC, Swagger, Annotation, Parameters binding, Validation, etc.
Stars: ✭ 638 (+1202.04%)
Mutual labels:  orm, framework
Opulence
A simple, secure, and scalable PHP application framework
Stars: ✭ 723 (+1375.51%)
Mutual labels:  orm, framework
Easy Php
A Faster Lightweight Full-Stack PHP Framework 🚀
Stars: ✭ 754 (+1438.78%)
Mutual labels:  orm, framework
Wpemerge
A modern, MVC-powered WordPress as a CMS workflow. 🚀
Stars: ✭ 348 (+610.2%)
Mutual labels:  framework, mvc
Framework
High-Performance Long-Living PHP Framework for modern enterprise application development
Stars: ✭ 895 (+1726.53%)
Mutual labels:  orm, framework
Gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
Stars: ✭ 6,501 (+13167.35%)
Mutual labels:  orm, framework
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (+610.2%)
Mutual labels:  framework, mvc
Javatech
☕️ 汇总 Java 开发中常见的主流技术的应用、特性、原理。
Stars: ✭ 310 (+532.65%)
Mutual labels:  orm, mvc
Sylar
C++高性能分布式服务器框架,webserver,websocket server,自定义tcp_server(包含日志模块,配置模块,线程模块,协程模块,协程调度模块,io协程调度模块,hook模块,socket模块,bytearray序列化,http模块,TcpServer模块,Websocket模块,Https模块等, Smtp邮件模块, MySQL, SQLite3, ORM,Redis,Zookeeper)
Stars: ✭ 895 (+1726.53%)
Mutual labels:  orm, framework
Furion
Make .NET development easier, more versatile, and more popular.
Stars: ✭ 902 (+1740.82%)
Mutual labels:  framework, mvc
Turbulette
😴 Turbulette - A batteries-included framework to build high performance, fully async GraphQL APIs
Stars: ✭ 29 (-40.82%)
Mutual labels:  orm, framework
Jsblocks
Better MV-ish Framework
Stars: ✭ 2,795 (+5604.08%)
Mutual labels:  framework, mvc

BAST Framework

.. image:: https://raw.githubusercontent.com/MOluwole/Bast/master/bast/image/bast.png :height: 50 :width: 50 :align: center

|travis| |circleci| |pversion| |license| |coverall| |status| |issues| |contributors| |downloads|

About Bast

Bast is a Simple and Elegant Framework. The main aim of Bast is to create an enjoyable and creative Experience for Developers. Bast attempts to take the pain out of development by making common tasks used in the majority of web projects easy. Bast is aimed to be platform Independent and it's core Language is Python. Uses Python 3.*

Read more in the `documentation on ReadTheDocs`_.

Python Version

Bast makes use of Python 3.0 and above in order to run

Usage

To install Bast, you can download it easily from Pypi using

.. code:: bash

    $ pip install Bast
    
Bast comes bundled with a very powerful CLI tool called ``panther``. To show the available commands, use

.. code:: bash
    
    $ panther --help
    
To create a setup a new project, use

.. code:: bash
    
    $ panther new project_name
    $ cd project_name
    $ panther run
    
To visit the website and see if it's setup successfully, visit ``127.0.0.1:2000`` in your browser

Update

Bast Routing is now relatively simple and much more easy to use. It embodies the way and manner Laravel defines it's URL's but instead of the @ symbol, Bast makes use of the . You do not need to import your controller again

.. code:: python

from bast import Route

route = Route()
route.get('/', 'ExampleController.index')

Bast Controllers are Python Classes which inherit from the Bast Controller Class. Using panther create:controller ControllerName creates a controller file in the controller package. To render template in controller, use self.view('template.html', args=None) where the args is a Dictionary object and optional

.. code:: python

from bast import Controller


class TestController(Controller):
    def index(self):
        self.view('index.html')

To run your app use

.. code:: bash

$ panther run

Maintainer

.. code:: bash

    $  Majiyagbe Oluwole

Contributors

.. code:: bash

$ Majiyagbe Oluwole
$ Azeez Abiodun Solomon

License

This Framework is Licensed under MIT License

Credits

Bast runs on the Tornado HTTP Server_.

For templating, Bast makes use of the Jinja Templating_ Engine.

Eloquent Object Relation Mapping is achieved using Orator ORM_

.. _file an issue: https://github.com/rtfd/readthedocs.org/issues .. _Read the Docs README: https://github.com/rtfd/readthedocs.org/blob/master/README.rst .. _documentation on ReadTheDocs: https://bast.readthedocs.io/en/latest/ .. _project page: https://readthedocs.org/projects/pip/ .. _Tornado HTTP Server: https://tornadoweb.org .. _Jinja Templating: https://jinja.pocoo.org/docs/2.10 .. _Orator ORM: https://orator-orm.com .. |travis| image:: https://travis-ci.org/moluwole/Bast.svg?branch=master .. |circleci| image:: https://circleci.com/gh/moluwole/Bast.svg?style=svg .. |license| image:: https://img.shields.io/github/license/moluwole/bast.svg .. |pversion| image:: https://img.shields.io/pypi/pyversions/Bast.svg .. |status| image:: https://img.shields.io/pypi/status/Bast.svg .. |issues| image:: https://img.shields.io/github/issues-raw/moluwole/Bast.svg .. |contributors| image:: https://img.shields.io/github/contributors/moluwole/Bast.svg .. |downloads| image:: https://pepy.tech/badge/bast .. |coverall| image:: https://coveralls.io/repos/github/moluwole/Bast/badge.svg?branch=master :target: https://coveralls.io/github/moluwole/Bast?branch=master

.. |nbsp| unicode:: 0xA0 :trim:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].