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
Install impossible with Command Line
On which platform?
Comment by
WanWizard
November 2011
permalink
Anyone done RPS benchmarking?
My personal experience is that it's quite fast. Faster than other frameworks I've used. And it's not only faster in execution, it also develops a lot faster (once you get some experience).
Comment by
WanWizard
November 2011
permalink
Anyone done RPS benchmarking?
There is no such thing as "RPS for the framework". It depends on too many external factors. If I say 7652, what does that tell you? It also depends on the requests. Are you requesting the "hello world" page, or testing real-life…
Comment by
WanWizard
November 2011
permalink
Native session handler
I as said, I don't have an issue with reviewing the session drivers for 1.2. Please create an issue for this so we can put it on the roadmap. As for the write-on-set, it is something I have to think about, since I'm not happy with lockin…
Comment by
WanWizard
November 2011
permalink
Native session handler
Yes, lots. write-on-set is usesless for cookie based sessions. Everytime you modify a session variable a new cookie is added to the header, which if you're unlucky makes your header bigger then the page itself. Not to mention the fact that som…
Comment by
WanWizard
November 2011
permalink
auth tutorial
No, it wont. Too much has changed between February and now.
Comment by
WanWizard
November 2011
permalink
newsletter unsubscribe link generator
Most use some kind of hash in the link that indicates the user and/or email account. For extra security (if you have named users) you can ask for a password before unsubscribing. If not, you can send an email to the address of the unsubscriber, say…
Comment by
WanWizard
November 2011
permalink
Minimal Fuel Hello World App - (A tip of controllers)
That is not entirely true. Controller actions need to return a response object. Returning nothing, or returning something else is deprecated, and support for that will be removed after v1.1. That is not really related to echoing something in your c…
Comment by
WanWizard
November 2011
permalink
Is FuelPHP production ready?
What is your definition of "production ready"? If it is "can I build an app with it", the answer is yes. I've build my first one the end of december last year. If it is "is it bugfree" the answer is probably no. T…
Comment by
WanWizard
November 2011
permalink
oil generate migration not generating correctly
These are the kind of problems I like...
Comment by
WanWizard
November 2011
permalink
Enable profiling dinamically
When you do this, you only need to call the init() method. The mark() is to profile the execution of the Fuel init process. And you must set \Fuel::$profiling = TRUE, to make sure the profiler output is generated when the request is processed.
Comment by
WanWizard
November 2011
permalink
Redis database confirguration
Redis is configured in your app's db config, as a separate entry called 'redis'. The example config included in the app download contains this entry.
Comment by
WanWizard
November 2011
permalink
Routing Problem
frontent !== frontend. Or is that a typo?
Comment by
WanWizard
November 2011
permalink
routable package
The idea is that a package is a core extension. As you don't route to core controllers, you also don't route to package controllers. Instead, you create a controller in your application that extends your package controller (like you would…
Comment by
WanWizard
November 2011
permalink
Enable profiling dinamically
Currently that is not possible that way, the profiler is setup when the Fuel class init's. If you want to do it manually, this is what happens there: static::$profiling = \Config::get('profiling', false); if (static::$profiling) {…
Comment by
WanWizard
November 2011
permalink
oil generate migration not generating correctly
Which version of FuelPHP are you using? [moved this thread to the oil forum]
Comment by
WanWizard
November 2011
permalink
Webservices
Depends on the type of webservice. FuelPHP has a Rest_Controller, that you can use to extend and build your own RESTful web services. The Request class has the option to forge a CURL driver instance to connect to anything HTTP, or a SOAP driver ins…
Comment by
WanWizard
November 2011
permalink
Setup in sub directory on shared host
If you haven't configured an ob_callback in your application configuration, your FuelPHP app doesn't do compression. So it must be that either the servers php.ini file enables compression by default, or there's a webserver module tha…
Comment by
WanWizard
November 2011
permalink
Setup in sub directory on shared host
Chrome? From what I understand, it's either a Chrome bug (which can be fixed by restarting), or a setting on the server that is wrong, and causes a GZIP encoding mismatch (either the content is encoded, but it's not mentioned in the HTTP …
Comment by
WanWizard
November 2011
permalink
How to run a script in page initialisation
If you'd like to keep things standard, you can do an always_load of the package, and then an always_load of a class in the package. The load of the class will trigger a call to the _init() method, which can contain your code.
Comment by
WanWizard
November 2011
permalink
Setup in sub directory on shared host
Ok, I thought so. That is not a problem, but requires a custom .htaccess in your subdir, with the correct rewrite rules so that http://example.org/subdir loads the index.php that is in /subdir/public. You find some information here: http://fuelphp.…
Comment by
WanWizard
November 2011
permalink
Setup in sub directory on shared host
What is going to be in that subdir? From your directory structure I see you have everything in the docroot?
Comment by
WanWizard
November 2011
permalink
Can I use the session DB driver for my API
For generating keys, FuelPHP uses PHPSecLib, which is included in the core/vendor directory. Check the crypt class or the Auth package to see how it is used. API session storage is not possible at the moment, but sounds like an interesting addition…
Comment by
WanWizard
November 2011
permalink
Response don't send 404 header to the browser when throwing HttpNotFoundException
Not setting a 404 header is intended behaviour, and documented as such: http://fuelphp.com/dev-docs/general/404.html In short, this allows you to reply with something that isn't a non-found situation. You need this for example when you have a…
Comment by
WanWizard
November 2011
permalink
Native session handler
That's not data loss, that is not understanding how things work. FuelPHP's session library has been designed so that it reads the data when the session starts, and writes it when it ends. This is for performance reasons, write-on-set is a…
Comment by
WanWizard
November 2011
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,368
Last Active
4:16PM
Roles
Administrator