Code Monkey home page Code Monkey logo

light_reverserouter's Introduction

Light_ReverseRouter

2019-04-10 -> 2021-03-15

A reverse router for the Light framework. This is a Light framework plugin.

This is part of the universe framework.

Install

Using the planet installer via light-cli

lt install Ling.Light_ReverseRouter

Using the uni command.

uni import Ling/Light_ReverseRouter

Or just download it and place it where you want otherwise.

Summary

Services

Here is the content of the service configuration file:

reverse_router:
    instance: Ling\Light_ReverseRouter\Service\LightReverseRouterService



# --------------------------------------
# hooks
# --------------------------------------
$events.methods_collection:
    -
        method: registerListener
        args:
            events: Ling.Light.initialize_1
            listener:
                instance: @service(reverse_router)
                callable_method: initialize




The reverse_router service can build an uri from a route, and so it helps creating web applications which don't use hardcoded uris.

In other words, it helps creating web applications where you can change uris easily.

The initializer service is provided by the Light_Initializer planet, which this planet depends on.

History Log

  • 1.11.7 -- 2021-05-31

    • Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
  • 1.11.6 -- 2021-05-10

    • Fix assets missing.
  • 1.11.5 -- 2021-03-15

    • update planet to adapt Ling.Light:0.70.0
  • 1.11.4 -- 2021-03-05

    • update README.md, add install alternative
  • 1.11.3 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 1.11.2 -- 2020-12-04

    • Add lpi-deps.byml file
  • 1.11.1 -- 2019-12-17

    • fix functional typo in service configuration
  • 1.11.0 -- 2019-12-17

    • update plugin to accommodate Light 0.50 new initialization system
  • 1.10.0 -- 2019-11-19

    • ReverseRouter becomes LightReverseRouterService
  • 1.9.0 -- 2019-11-12

    • fix functional typo and rewrite service configuration with new listener priority
  • 1.8.0 -- 2019-11-11

    • add redirecting handler for Ling.Light.on_exception_caught event
  • 1.7.2 -- 2019-09-17

    • update ReverseRouter to accommodate new LightReverseRouterInterface interface method signature
  • 1.7.1 -- 2019-10-21

    • update ReverseRouter->getUrl, now internally uses UriTool::httpBuildQuery instead of http_build_query
  • 1.7.0 -- 2019-09-17

    • update ReverseRouter to accommodate new LightReverseRouterInterface interface methods
  • 1.6.0 -- 2019-09-10

    • update service instantiation to accommodate the new initializer interface
  • 1.5.0 -- 2019-09-05

    • update ReverseRouter->getUrl, now add query string when urlParameters are passed
  • 1.4.0 -- 2019-07-18

    • update ReverseRouter.getUrl to adapt the new LightReverseRouterInterface
  • 1.3.2 -- 2019-07-18

    • fix ReverseRouter.getUrl returning wrong implicit host for absolute url
  • 1.3.1 -- 2019-07-18

    • update docTools documentation, add links to source code for classes and methods
  • 1.3.0 -- 2019-07-17

    • update ReverseRouter class to adapt the new LightInitializerInterface
  • 1.2.0 -- 2019-07-17

    • update ReverseRouter class to adapt the new LightReverseRouterInterface
  • 1.1.0 -- 2019-07-17

    • update ReverseRouter class to adapt the new LightInitializerInterface
  • 1.0.0 -- 2019-04-10

    • initial commit

light_reverserouter's People

Contributors

lingtalfi avatar

Watchers

 avatar James Cloos 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.