Code Monkey home page Code Monkey logo

wepesi's Introduction

Wepesi

  • Wepesi library wepesi is the quick ans simple framework the help you devellop simple web application with php and design OOP concept, it has been design by following most off principle for big framework but make it simple for develloper.

Installation

The installation of the application does not require somuch thing;

 composer create-project wepesi/wepesi

and it will create a project for You.

  • In case you are not familliar with composer you can donwload it directly the source code on github on :https://github.com/kivudesign/Wepesi, no nee of extra module to start workin on the project.

Intoduction

Wepesi is a simple Web framework that help you devellop simple web application, and benefit advantage of large php framework like

  • routing
  • controller
  • simple ORM *without migration
  • MVC design patern
  • OOP
  • Middleware
  • Validation
  • View

All module are built-id, its has been design to give to make the framework flexible, you can restructure everything as you want and be able to add more module.

Integration

no need to know about composer, the simple way is to download the all the project and place on the server side devellopenent. decompress the file, and folder the instruction.

  • if you are using wamp, place the decopress folder on the www folder of wamp folder with is on the root of the dick c: on windows
  • if you are using xamp, you place the folder on the htdocs you can rename the folder as you want according to you need

Structure

the library is subdivised in multiple part with folder, we have:

  • class : where all model and where we can find the core logic to run the libray. there is a folder call app, in with you are not allowed to modified any class if you dont know what you are doing. in some case, it will have an impact on the way your application is working.
  • controller: where you can creat all the controller. the system has been designed like that to make a difference between controller and model.
  • config: where you can config the database configuration, and the autoloading.
  • layout: the layout help manage all css style or javascript script, or not. the idea, is to have a better logical. in case you use the layout, there is a way yu can accee those file by using wepesi class Bundle.
  • route: is where you can define all your route
  • views: here is where you will create all the pages that will display by the user.
  • index.php: this is the main file. to start the app,
  • .htaccess: this help to manage the routing.

*Hope you enjoy.

wepesi's People

Contributors

bim-g avatar winnersprox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rivman

wepesi's Issues

Add validate unique

There is no unique validation method witch is very useful to check an element should exist one on the db

Add change lang form

This is simple model application to support multiple language and shoud be manage

Add support for meta data

This module will be help full to generate meta data, but it should be a built in module, no external module

Replace .ini with .env for standar

To load data information from .env is the right way to make the project follow general standar.
Also it will require a builtin module to load data from .env file.

unable to interpter text as json

By default, while using Response::send the response should be sent as Json, but in case you send a text the text is not well interpreter by third party.

Refactoring Routing module

Until now the 404 in manage from the router, it should possible to the user to setup his custom 404 message or design depend on te need.

Routing via cli, does not work

while try to exceute the application via cli the routing does not change it stack in the first page, but path on the browser is chnging

refactoring DB module

The database module need a refactoring to provide a big improvement, and easy usability.

Review and refacoring the ORM

The build-in ORM as some limitation, so it need some impouvement to make it be faster, easy to use and user friendly.

Wherebuilder condition problem

There is another cast that block access to the field value while checking if the value is trying or integer on conditionIsSteing method

Fix autoload middleware

There is a problem with validation module, middleware class are not accesible, via middleware route validation.

Implement Middle module

The middleware are function taht will be execute before call the controller, and will be usefull for authentication, autorization and validation.

Refactor project autoload

  • Refactor project autoload to load faster and manage extra diretory
  • Review project structure for better accessibility.

Validation problem

The `positiveParamMethod, should be checked as false in case the value to rules value is negative.
This make the validation to be false.

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.