Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
WanWizard
a.k.a. WanWizard
Discussions
4
Comments
8242
Activity
ORM updates with INT data type
I've done some digging, it was introduced here: https://github.com/fuel/orm/commit/80bbe33e7b35df6fdbf65c1a32d0a59bb110849c back in 2016. I'm trying to understand why that is there, since the typing observer runs before that code, so all v…
Comment by
WanWizard
March 2020
permalink
ORM updates with INT data type
If you want type checks and/or conversions, you need to use the Typing observer, and the correct type definitions in your model, optionally including default values. The ORM itself doesn't do any typing whatsoever, so if conversions happen, it …
Comment by
WanWizard
March 2020
permalink
Using FuelPHP dev-1.9/develop with Twig 3.*
I've looked at it, but it is not going to be simple. The loader is easy to adapt while keeping it backwards compatible, but the extension system has complete changed in Twig v3, so that may need to be rewritten. Can you check if you get any fu…
Comment by
WanWizard
March 2020
permalink
Using FuelPHP dev-1.9/develop with Twig 3.*
Are you using Twig directly, or via the Parser package? Directly should simply work, the Parser package currently supports only v1.x and v2.x.
Comment by
WanWizard
March 2020
permalink
Future of the framework
No. My health hasn't allowed for major work, unfortunately. The bit of time I have goes into putting bread on the table, and fixes for the existing codebase if and when needed.
Comment by
WanWizard
February 2020
permalink
Feasibility issue
Give us a shout if you have more questions... ;-)
Comment by
WanWizard
February 2020
permalink
Feasibility issue
There is no need to study classes, routing in Fuel is done through a config file, see the docs. The same is true for a lot of other things, Fuel tries to keep things simple, compared to other frameworks where you spend most of your time moving class…
Comment by
WanWizard
February 2020
permalink
Feasibility issue
Is this the only fuctionality this app needs to perform? If so, create a Controller that deals with retieving and returing the file, and a route that directs all requests to that controller. You don't even need to use a regex in that route (but…
Comment by
WanWizard
February 2020
permalink
Partial column selects now requiring the primary key to be included
Found and fixed, thanks again for your bug report.
Comment by
WanWizard
January 2020
permalink
Partial column selects now requiring the primary key to be included
Thanks for the report. ORM hydration is being refactored at the moment. We'll have a look at what we missed.
Comment by
WanWizard
January 2020
permalink
Update fuelphp with composer
Well, you should, but I won't know how, not a Composer expert I'm afraid. To test, I copied the composer.json from 1.8-master, and changed it to explicitly install 1.8.0: [wanwizard@catwoman] $ composer install Loading composer repositorie…
Comment by
WanWizard
January 2020
permalink
Update fuelphp with composer
According to the composer docs, "1.8.*" means ">=1.8
Comment by
WanWizard
January 2020
permalink
Update fuelphp with composer
When I use the standard json to create a new installation, it installs: Package operations: 15 installs, 0 updates, 0 removals - Installing composer/installers (v1.6.0): Downloading (100%) - Installing fuelphp/upload (2.0.6): Downloadin…
Comment by
WanWizard
January 2020
permalink
Hello
It's not an app, it is a custom module for this CMS.
Comment by
WanWizard
January 2020
permalink
A Question concerning core class fuel.php
If and when there is a Fuel 2, it will most likely not be backwards compatibile. Which is not an issue, Fuel 1 will be maintained for the forseable future, if only because all our apps use it to, and rewriting them to another framework simply isn…
Comment by
WanWizard
December 2019
permalink
Issue with Observer Self
Thanks !
Comment by
WanWizard
December 2019
permalink
Issue with Observer Self
My gut feeling is, this is not ok. The ORM should run the query and process it's result before running observers.
Comment by
WanWizard
December 2019
permalink
A Question concerning core class fuel.php
p.s. Given the investment and amount of work, I would probably go for overloading the init() method of \Fuel\Core\Fuel in the app bootstrap, and revert that commit.
Comment by
WanWizard
December 2019
permalink
A Question concerning core class fuel.php
1. Depends, but I'd say "probably not". There are a few fundamental differences between modules and packages. Packages have a bootstrap, which is meant for framework integration work when you load the package (for example class overlo…
Comment by
WanWizard
December 2019
permalink
A Question concerning core class fuel.php
Modules are frontend extensions, Packages are framework extensions. Therefore packages can not contain any routes. So your app broke because you broke one of the fundamental design principles of the framework. ;-) git blame tells me the reason is th…
Comment by
WanWizard
December 2019
permalink
Future of the framework
There are a few changes that I want to see: - Make Classes testable, which mean removing the static interface (from the classes themselfs) - Remove Fuel's own autoloader in favour of PSR-4 (composer autoloader)- Replace Theme / View / Fieldset…
Comment by
WanWizard
December 2019
permalink
Does anyone know who owns fuelphp.jp domain and site?
No idea, sorry.
Comment by
WanWizard
December 2019
permalink
change uri before routing
Always a risk when you start changing internal classes, if the URI class changes it's logic, or the processing logic changes, you have problems like this. If you look at the processing logic, the application bootstrap is called from index.php, …
Comment by
WanWizard
November 2019
permalink
API on NGNIX
I'm travelling atm, I can see if I can setup nginx when I'm back. All our apps run on Apache, so this is new for me too.
Comment by
WanWizard
November 2019
permalink
API on NGNIX
POST doesn't work either? That is very weird? And do you get a 404 or a 405 on PUT, PATCH and DELETE?
Comment by
WanWizard
November 2019
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
About
Username
WanWizard
Joined
January 2011
Visits
2,373
Last Active
6:52PM
Roles
Administrator