Giter VIP home page Giter VIP logo

hx-core's Introduction

hx-core library

A PHP library inspired from onion architecture to solve:

  • decouple from 3rd party library but able to coorperate with it. (via adaptor design pattern)
  • more persistent when encouter technology change (example, from REST API to Xml-Rpc API)
  • compliance with SOLID design pattern
    • highly reusable component (less reinvent wheels, and able to develop specialize component library)
    • expandable component class
    • adapt to change upon requirement less likely to break source code (by repalcing different implementation class/component)
  • Separate of concern: domain problem, persistent layer, and delivery machanism is less dependent on each other
  • Unit testable source code

This library mainly focus on building backend web server. It is possible to build complete web server with this library, however it is highly recommended use 3rd party front end library in order to gain efficiency.

hx-core's People

Contributors

guinso avatar

Watchers

James Cloos avatar  avatar

hx-core's Issues

Hx library specific document structure

To develop a general document format for Hx Library instead adopt 3rd party document standard:

  • To eliminate change of 3rd party document specification handling
  • Better control on specification and development
  • Use IG library PDM document format (xml based, quite similiar to HTML tag style)
  • Inspired from HTML document tagging pattern
  • Focus on precision rather than responsive design
    pdm-sample

Document Engine Specification

Design a specification for \Hx\Doc\EngineInterace interface class

  • to help in rendering document for various renderer enginer - TCPDF, PhpExcel, GD lib
  • develop state handler class for managing each tag able to inherit style from parent tag
  • state class specification is a must

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.