GithubHelp home page GithubHelp logo

gintsmurans / staticphp Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 2.0 3.78 MB

A lightweight PHP framework

Home Page: http://staticphp.gm.lv/

License: MIT License

PHP 90.99% HTML 2.43% Shell 3.61% JavaScript 0.83% SCSS 0.15% Dockerfile 1.56% TypeScript 0.43%
framework php

staticphp's People

Contributors

gintsmurans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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

Forkers

istals vuchkov

staticphp's Issues

Router and query strings error

Requested uri is full uri with query string parameter in it. Router class should split it or controller file is not found.

Request class

Make a request class.

First look if php is not simple enough to write a wrapper class.

config/router.php

Router class needs to have some variable to store uri segments before it gets rewrited.

Extended libraries

Have to make sure what to do with all those libraries in extended and make sure they all are working. As well as test all those marked with "!".

Image library $stretch

Add $stretch variable for resizing method to determine if it should leave image as it is, if size is smaller.

pdo_db wrapper

$config['db']['autoload'] = FALSE; will not work any more.

g() future

Remove it from helpers as new config class will be usable for global variables

noSQL (mongoDB, etc)

Write class for noSQL databases. Look if there is some unified solution to this one or have to create separate libraries for each database.

Config file handlings

Create config file class for better handling of configurations.
Current g('config')->item approach is somehow confusing and not friendly.
Also add autoloading of config files when loading libraries.

Database

Seperate database config files and also remove it from the core.
This is a must because of different databases like mongoDB, where you cannot use standard pdo extension.

Extended timer output

If timer output is enabled add possibility from libraries to generate additional timer output info.

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.