awbush / lightvc Goto Github PK
View Code? Open in Web Editor NEWlightweight model-view-controller (MVC) framework without the model, for PHP
lightweight model-view-controller (MVC) framework without the model, for PHP
$actionParams = $request->getActionParams() + Lvc_Config::getDefaultControllerActionParams();
at lightvc.php on 843 line
It's wrong syntax
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.
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?
header('HTTP 1.1 ' . $statusCode->getCode() . ' ' . $statusCode->getDefinition());
needs to be
header('HTTP/1.1 ' . $statusCode->getCode() . ' ' . $statusCode->getDefinition());
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!
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?
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!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.