cygnite / framework Goto Github PK
View Code? Open in Web Editor NEWCygnite PHP Framework- A Modern Toolkit For Web Developers
Home Page: http://www.cygniteframework.com/
License: MIT License
Cygnite PHP Framework- A Modern Toolkit For Web Developers
Home Page: http://www.cygniteframework.com/
License: MIT License
Just getting started with Cygnite, looks great! I'm going to love this framework. In the default welcome.view I can't get the stylesheet or favico urls to use https when the index loads via https. Is there a way to force Asset::style and URl::getbase to use SSL?
Trying to force SSL with .htaccess methods throw me into a redirect loop.
Router: Implement route middleware and remove existing before and after callbacks.
Displaying warning as no buffer to delete when controller action do not return any value.
Warning: "No buffer to delete"
\Cygnite\Http\Responses\Response::send()
When database connection lost and system trying to reconnect to database it is throwing "Method isLostConnection() doesn't exists".
Error throws when table primary key is any other instead of 'id'. For example if table key is user_id the generator code by cygnite cli throws error.
Call to a member function execute() on a non-object
Cannot use object of type as array
Hi,
I am facing issue using RouteCollection class for defining collection of static routes. I have defined my crud controller name for handling routes in the "Apps/Routing/RouteCollection.php" file, but when i try to access the controller action it throws exception "Cannot send headers, headers already sent".
I am facing this issue only when I define crud controller for routes using RouteCollection method. If I add routes manually in the "Apps\Routing\Routes.php" file it works fine.
I was testing CRUD using Cygnite CLI for the current version (v1.2.5) and found data are not inserting properly into database. Update functionality works well though. It was working perfect in earlier version (v1.2.4) but breaking down in current version. Need to be fixed soon.
v1.2.5 throwing issue when we use setFlash() in controller. For example:
$this->setFlash('success', 'User saved successfully!')
->redirectTo('user/index/');
throws (call_user_func_array()) warning as no setFlash() found in AbstractBaseController.php file.
PHP Deprecated: preg_replace(): The /e modifier is deprecated, warning displays on PHP v5.5.
hasFlash() method throwing error Reflection fatal error from the Inflector.
Below code throws exception: "Call to undefined method \Cygnite\FormBuilder\Form::button() "
->addElement("button", "Button", ["class" => "form-control"])
Un defined method button() in Form class.
The most recent 1.x package of Cygnite that is being pulled from Composer has some inconsistencies that prevent a user from generating a view.
You can browse the repo at the commit listed on the Packagist website here (this is the latest commit on the v1.3.1 tag too, as you might expect). Of note are two classes: CView, which appears to have been updated to View in the most recent dev branch, and Output, which had its load()
function removed at this commit in place of buffer
. But, as you can see in the CView link above, it is still expecting Output::load
to be a function.
I'm not very familiar with how Composer or Packagist work, so I don't know what the best course of action would be to help fix this. I've just been working on fixing up one of the Cygnite tests over on the Techempower Framework Benchmark and thought I'd let you know about the bug I found!
Call to undefined function mb_strpos in \Cygnite\Http\Requests\Request::setUnsupportedMethodsIfExists() method if server doesn't have mbstring extension installed.
Throws exception as "Query Builder must implement the abstract method "getDatabaseConnection". Undefined method "getDatabaseConnection" called on Query Builder object.
When tried to get the multiple records as json data, came up with empty string
Hello,
Cygnite v2.0 (PHP 5.4+) has been released with many cool features. Next major version we are concentrating on-
We are working on it and soon we will merge into official branch. Anyone want to add some features, please feel free to comment below or PM me personally. Thanks!
Hello Mates,
I believe Cygnite has enough features to move forward to v2.0. I can see many efficient features added for last few months. I would like to start some discussion regarding version upgrade with some code changes, simplifications, feature removals, and potential feature additions etc.
What about the minimal PHP version 5.4.x ?
I'd love to hear feedback on this and moving forward.
Namespace: \Cygnite\Validation\Validator
Validator rules passes if last element validated successfully even though other elements validation failed.
For example: 1......10 element
If 5th and 7th element validation failed but 10th element validation pass
than Validator returning true
Which is a major error. Need to test this thoroughly and Fix this.
PHPUnit tests Throwing exception if system doesn't have Cache extension. Need to refactor code for Mock testing.
Build: https://travis-ci.org/sanjoydesk/framework/jobs/82827817
Can see some part of the framework Inflector used statically and some place still object, not uniform.
As a part of Helpers why don't we make Inflector functions as static, which look much short and simple.
See here:
https://github.com/cygnite/framework/blob/master/src/Cygnite/Console/Command/GeneratorCommand.php#L109
and https://github.com/cygnite/framework/blob/master/src/Cygnite/Database/Query.php#L731
and many more places
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.