Giter Site home page Giter Site logo

hack-router's People

Contributors

acrylic-origami avatar aloiret-ed avatar azjezz avatar fredemmott avatar jjergus avatar kmeht avatar lexidor avatar simonwelsh avatar usox 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hack-router's Issues

Create and use a Hack alternative to PSR-7 and Diactoros

This should be done before 1.0. Motivation:

However, until we drop PHP support, keeping some interoperability (e.g. conversion functions) would be reasonable.

cc @usox, @RyanGordon, @asuth, @acrylic-origami, @bobertforever for feedback

spam

  • deleted spam -

Examples do not work on hhvm 4.111: Found top-level code in BaseRouterExample.php

Hi folks,

I was trying to run examples with recent hhvm and got errors:

$ hhvm --version
HipHop VM 4.111.0 (rel)
Compiler: 1621979252_828765612
Repo schema: d1ae8e21bf3419a65f12a010527485564e719d07

$ hhvm BaseRouterExample.php 

Fatal error: Found top-level code in <path>/hack-router/examples/BaseRouterExample.php on line 17

Could this be addressed? What is the best way to avoid it?

Migrate away from nikic/fast-route

  • the HHI is not valid for 3.23 (or 3.22 with shapes changes); to fix this, it should be split out to a separate project
  • however, that's probably not worthwhile, given that long-term we need to migrate away from PHP dependencies

Biggest risk is messing up pattern parser compatibility; this won't be an issue with hack-router-codegen, but will if using things directly.

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.