Giter Site home page Giter Site logo

lightvc's People

Contributors

ajm113 avatar awbush avatar lzhang 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lightvc's Issues

Error parsing script headers

header('HTTP 1.1 ' . $statusCode->getCode() . ' ' . $statusCode->getDefinition());

needs to be

header('HTTP/1.1 ' . $statusCode->getCode() . ' ' . $statusCode->getDefinition());

Error reporting not working?

I'm not seeing PHP errors (I'm getting a blank screen and I know which line is causing this). What is required for them to appear? Thanks!

'+' in the router

$actionParams = $request->getActionParams() + Lvc_Config::getDefaultControllerActionParams();

at lightvc.php on 843 line

It's wrong syntax

Lightvc.org content still available?

I couldn't find an email address for you, so I'm leaving a comment here as an issue instead. I noticed that LightVC isn't maintained anymore, and the website appears to be registered to someone else now. I was wondering if the content of the website is still available someplace. I still use LightVC and am thinking of forking and maintaining it myself. I'd love to have access to the original docs, which aren't online anymore.

Thank you!

HTTP Response Code not set for 404

Although the 404 view is displayed when you enter a page that does not exist, it returns a 200 response code.

I've added http_response_code($errorNum); to /controllers/error.php but not sure if there is a better way? I can see the loadPageNotFound() method but it's not called from anywhere.

What would be the best way to pass around class objects?

I've currently setup my autoloader in index.php. I've also instantiated my object in the layout page (default.php). Everything works fine to some extent.

I need to call methods from this object from controllers. What would be the best way to accomplish this?

License for SimpleReflector?

Hello. I'm trying to handle license compliance for a product that uses SimpleReflector, but it seems to conflate two different licenses in its (C) statement: https://github.com/awbush/lightvc/blob/master/classes/SimpleReflector.class.php

@copyright Academic Superstore 2006-2008, FreeBSD (revised) licensed

However, I believe there is either the FreeBSD license https://en.wikipedia.org/wiki/BSD_licenses#2-clause_license_.28.22Simplified_BSD_License.22_or_.22FreeBSD_License.22.29 (which is also cited by Autoloader.class.php, or there is the Revised BSD license https://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22Revised_BSD_License.22.2C_.22New_BSD_License.22.2C_or_.22Modified_BSD_License.22.29

"FreeBSD (revised)" is ambiguous as to which of those two you actually mean.

One server, multiple instances

Is it possible to use LightVC in multiple instances on one server? If so, what would be required in terms of location of files, server config and VC configs?

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.