2017 © Pedro Peláez
 

library fudjan

Fudjan LMCV web framework with modules and layouts

image

just-paja/fudjan

Fudjan LMCV web framework with modules and layouts

  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 78 Versions
  • 0 % Grown

The README.md

Fudjan LMCV web framework

Yet another web framework that tries to be open, lightweight and simple., (*1)

Sadly, I didn't have time to create any usable docs, just some inlined javadoc style comments., (*2)

Installation

  1. Get Composer if you don't have it already
  2. Create project via composer. Package fudjan-project is a very simple wrapper for downloading composer dependencies and keeping clean BASE_DIR, (*3)

    $ composer create-project just-paja/fudjan-project
    

Features

Multi level JSON config

You keep your config on path etc/conf.d/{env} using simple and readable JSON. Lookup default config on etc/default/conf.d for list of options. Fudjan reads all .json files begining in {ROOT}/etc/default/conf.d, going trough {BASE_DIR}/lib/vendor/**/etc/default/conf.d and finishing in {BASE_DIR}/etc/conf.d/{env}. So you can simply overwrite settings just by writing them inside a json file., (*4)

Domain config

Do you use subdomains, vhosts or just run multiple domains? Just define rules how they're recognized and connect it with your routes. You might want to keep this config in etc/conf.d/global/domains.json, (*5)

{
    "global":{
        "rules":["^(www\\.)?mydomain.net$", "^(www\\.)?mydomain.net.local$"],
        "init":["www", "godmode"]
    },
    "static":{
        "rules":["static.mydomain.net.net$", "static.mydomain.net.local$"]
    }
}

Key rules is regexp that is matched agains host header. Key init is list of scripts to run before page load. Scripts are taken from etc/init.d, (*6)

Binary helpers

If your installation went well, you'll find executable in bin/manage. It contains modules and context help. Running it without arguments displays some basic info about your config. Syncing or migrating database, updating assets and deploying your project will be like walking trough the garden of marshmallow., (*7)

Regexp URLs (routes)

This is pretty standard feature I guess. Routes are also in JSON on path etc/routes.d/{domain}.json, (*8)

[
    ["^/$", {
        "layout":["abstract/skeleton", "home"],
        "modules":[
            ["example/mod_name", {"slot":"top", "mod_opts_example":"test"}, "name"]
        ]
    }, "home"]
]

Advanced resource handling

Images, icon, styles and scripts are accessed using serial numbers. When you change your website style, you change the serial number and frontend client is forced to re-download whole style., (*9)

Javascript and css files are minified when 'dev.debug.frontend' is not falsy., (*10)

Bower integration

Basic functions of bower are integrated inside fudjan. Packages are saved inside share/bower. If you want to add dependency, set config assets.dependencies. For syntax, see default settings., (*11)

Fudjan has CLI module for listing and updating frontend dependencies, (*12)

$ ./bin/manage assets list

Resource packs

Resources are gathered during rendering process of http response. Right before sending it, they're concatenated., (*13)

$ren->content_for('scripts', 'bower/async/lib/async.js');
$ren->content_for('scripts', 'script/example.js');
$ren->content_for('styles', 'styles/layout.js');

Resource tags

You can tag images, icons, whatever and create your own tags inside styles and scripts., (*14)

.example {
    background-image:<pixmap(layout/example-bg.png)>;
}
console.log('<pixmap(layout/example-bg.png)>');

Requirements

Fudjan will run with php >= 5.3. Extension for database connections will be required, most likely PDO, but applications without DB can be made with fudjan as well., (*15)

LMCV?

Layout, model, controller, view. You define what and how many modules are run when URL pattern is triggered., (*16)

Why fudjan?

The name is derived from Fuck Django., (*17)

The Versions

01/03 2017

dev-master

9999999-dev

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

01/03 2017

1.2.6

1.2.6.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

13/05 2016

0.7.24

0.7.24.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

30/04 2016

1.2.5

1.2.5.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

27/03 2016

1.2.4

1.2.4.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

27/03 2016

1.2.3

1.2.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

27/03 2016

1.2.2

1.2.2.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

26/03 2016

1.2.1

1.2.1.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

26/03 2016

1.2.0

1.2.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

22/03 2016

1.1.10

1.1.10.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

06/03 2016

1.1.9

1.1.9.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

14/02 2016

1.1.8

1.1.8.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

13/02 2016

1.1.7

1.1.7.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

08/02 2016

1.1.6

1.1.6.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

08/02 2016

1.1.5

1.1.5.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

02/02 2016

1.1.3

1.1.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

02/02 2016

1.1.4

1.1.4.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

01/02 2016

1.1.2

1.1.2.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

23/01 2016

1.1.1

1.1.1.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

10/01 2016

1.1.0

1.1.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

29/12 2015

1.0.3

1.0.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

23/12 2015

1.0.2

1.0.2.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

23/12 2015

1.0.1

1.0.1.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

23/12 2015

0.8.0

0.8.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

23/12 2015

1.0.0

1.0.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

23/12 2015

0.7.23

0.7.23.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

22/11 2015

0.7.22

0.7.22.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

25/09 2015

0.5.15

0.5.15.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

25/09 2015

0.7.21

0.7.21.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

03/06 2015

0.7.20

0.7.20.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

31/05 2015

0.7.19

0.7.19.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

21/05 2015

0.7.18

0.7.18.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

03/05 2015

0.7.17

0.7.17.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

03/05 2015

0.7.16

0.7.16.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

01/05 2015

0.7.15

0.7.15.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

18/04 2015

0.7.14

0.7.14.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

31/03 2015

0.7.13

0.7.13.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

31/03 2015

0.7.12

0.7.12.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

30/03 2015

0.7.11

0.7.11.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

27/03 2015

0.7.10

0.7.10.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

23/03 2015

0.7.9

0.7.9.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

17/03 2015

0.7.7

0.7.7.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

16/03 2015

0.7.6

0.7.6.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

16/03 2015

0.7.5

0.7.5.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

16/03 2015

0.7.4

0.7.4.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

15/03 2015

0.7.3

0.7.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

15/03 2015

0.7.2

0.7.2.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

05/03 2015

0.7.1

0.7.1.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

05/03 2015

0.7.0

0.7.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

25/02 2015

0.6.4

0.6.4.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

17/02 2015

0.6.3

0.6.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

16/02 2015

0.6.2

0.6.2.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

16/02 2015

0.6.1

0.6.1.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

15/02 2015

0.6.0

0.6.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

14/02 2015

0.5.14

0.5.14.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

13/02 2015

0.5.12

0.5.12.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

10/02 2015

0.5.11

0.5.11.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

10/02 2015

0.5.10

0.5.10.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

05/02 2015

0.5.9

0.5.9.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

04/02 2015

0.5.8

0.5.8.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

07/01 2015

0.5.7

0.5.7.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

07/01 2015

0.5.6

0.5.6.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

18/12 2014

0.5.5

0.5.5.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

03/12 2014

0.5.4

0.5.4.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

21/11 2014

0.5.3

0.5.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

19/11 2014

0.5.2

0.5.2.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

19/11 2014

0.5.1

0.5.1.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

05/09 2014

0.5.0

0.5.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

11/07 2014

0.5.0-rc2

0.5.0.0-RC2

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

27/06 2014

0.5.0-rc1

0.5.0.0-RC1

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

17/02 2014

0.4.3

0.4.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

16/02 2014

0.4.2

0.4.2.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

04/02 2014

0.4.1

0.4.1.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

04/02 2014

0.4.0

0.4.0.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

The Requires

 

03/02 2014

0.3.3

0.3.3.0

Fudjan LMCV web framework with modules and layouts

  Sources   Download

GPL-3.0+

24/01 2014

0.3.2

0.3.2.0

Purple web framework; framework with modules and layouts

  Sources   Download

GPL-3.0+

22/01 2014

0.3.1

0.3.1.0

Purple web framework; framework with modules and layouts

  Sources   Download

GPL-3.0+

22/01 2014

0.3.0

0.3.0.0

Purple web framework; framework with modules and layouts

  Sources   Download

GPL-3.0+