GithubHelp home page GithubHelp logo

green-cat / lynx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lynx/lynx-legacy-zephir

0.0 2.0 0.0 2.48 MB

Lynx

Home Page: http://lynx.github.io/lynx

License: Other

Shell 0.80% C 30.34% Zephir 52.39% PHP 16.47%

lynx's Introduction

Lynx ORM|DBAL

Build Status Packagist Software License Author

Yet another ORM\DBAL written in Zephir language.

I like Doctrine 2 but I dislike Phalcon 2 ORM* and I've created this project to incubate a new ORM in Zephir Language to achieve the best performance.

Idea

  • Write ORM|DBAL and sublibs with max functions support
  • Performance tuning (will start doing it after beta release)

Why it would be great?

  • Small but support everything
  • Speed (because it's built in C with Zephir)

On What ideas it would be based

  • Annotation
    • ReflectionClassParser
      • RegexDocParser
      • LineParser (will be soon)
    • PHPFileParser (will be soon)
      • RegexDocParser
      • LineParser (will be soon)
  • ORM (Object relation mapper)
    • Hydration (Mapping)
    • EntityManager
    • UnitOfWork
    • QueryBuilder
  • DBAL (Database abstraction layer)
  • StdLib
    • Collections
    • EventManager (ported from Phalcon)
    • Hydrators (will be soon)

System Requirements

To build it you need the following requirements:

  • g++ >= 4.4/clang++ >= 3.x/vc++ 9
  • gnu make 3.81 or later
  • autoconf 2.31 or later
  • automake 1.14 or later
  • PHP development headers and tools

If you're using Ubuntu, you can install the required packages this way:

sudo apt-get update
sudo apt-get install git gcc make re2c php5 php5-json php5-dev libpcre3-dev

Installation

You can build extension and install it like:

git clone https://github.com/lynx/lynx.git
git submodule update --init
cd ext
./install
echo extension=lynx.so > /etc/php5/fpm/conf.d/lynx.ini
echo extension=lynx.so > /etc/php5/cli/conf.d/lynx.ini

Don't forget to restart your php-fpm:

sudo service php5-fpm restart

Build Zephir code

To build the zep Source to C extension:

License

This project is open-sourced software licensed under the MIT License. See the LICENSE file for more information.

lynx's People

Contributors

andresgutierrez avatar green-cat avatar ovr avatar tmihalik avatar

Watchers

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