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.
Phil Sturgeon
Discussions
Comments
128
Activity
Template parser?
I have a half finished Parser package which will be available to download and install when it is done. It will be driver based, and one of those drivers (the default) will be SimpleTags.
Comment by
Phil Sturgeon
February 2011
permalink
Database Transactions
Hey, looking good so far! Do you think you could make this work in a more SQL engine agnostic fashion? This will only work on MySQL which is going to be an issue down the line. Also, have you considered making these changes as a fork of Fuel? You c…
Comment by
Phil Sturgeon
February 2011
permalink
Translation to Russian
You any good with GitHub?
Comment by
Phil Sturgeon
February 2011
permalink
Quick question
From what I have seen in the CI forums where at least 2 of them were they are pretty awesome guys! Which two are the jerks? I use this framework for my freelance and Dan uses this for his day job. WanWizard has converted his CMS to use it an…
Comment by
Phil Sturgeon
February 2011
permalink
Run action only for HMVC requests
This to me is exactly why HMVC as widgets is a bad idea. Why not just create a Widget class with a method for each widget or a more intelligent system that loads sub-classes and views?
Comment by
Phil Sturgeon
February 2011
permalink
Themes like in wordpress
I would create a Controller_Frontend or Controller_Public that contains this logic. Your actual controller would just set parent::$theme = 'foo' then the Controller_Public would create the path to the correct layout file and various other…
Comment by
Phil Sturgeon
February 2011
permalink
Oil generate module
I'm trying to think of a good way to do that. The issue is that just doing module/controller means you can't use sub-directory/controller. I think perhaps doing: php oil generate --module= controller [ | |..] The module is just a …
Comment by
Phil Sturgeon
February 2011
permalink
Inflector::friendly_title question
Good spot, I've made this change in the develop branch.
Comment by
Phil Sturgeon
February 2011
permalink
Documentation ?
Spot on daniels. We have yet to documentation ActiveRecord and I am glad, as ActiveRecord is being entirely redeveloped. What a waste of time that would have been eh? There really aren't that many gaps left, and the gaps that are remaining wil…
Comment by
Phil Sturgeon
March 2011
permalink
FuelPHP slogan?
Correct guess, you win a goldfish! I'll accept the blame for coming up with that slogan, but Dan copied it out of IRC and put it on GitHub. You work out who is most to blame... Anyhow, we're only just taking the turn from "fun little…
Comment by
Phil Sturgeon
March 2011
permalink
FuelPHP IDE
NetBeans fully supports every feature in FuelPHP we could possibly want it to. It's a memory hog, but IDE's generally are.
Comment by
Phil Sturgeon
January 2011
permalink
Curl Class
You've done a good job porting this from CI to Fuel but this is not the way I would have done it. Fuel supports the idea of "Static for Simple, Instantiate to get more involved" so a lot of this syntax could be simplified drastically…
Comment by
Phil Sturgeon
January 2011
permalink
Database class - Insert
Does this work for you? Model_Country::find_by_country_code('USA');
Comment by
Phil Sturgeon
January 2011
permalink
Markdown for Fuel
That works. You can just make app/classes/markdown.php so it autoloads.
Comment by
Phil Sturgeon
January 2011
permalink
Forum Registration
Already a great improvement! Thank you
Comment by
Phil Sturgeon
January 2011
permalink
Forum Registration
Could you post us the CSS files somehow? We can't easily give out access to the site Git repo without letting everyone see the passwords.
Comment by
Phil Sturgeon
January 2011
permalink
Associations (Relationships) in Active Record
Just drop the ->find_all() and that should work fine.
Comment by
Phil Sturgeon
January 2011
permalink
DataMapper for FUEL
Gregory A wrote on 01/14/11 2:46 pm: Documentation for the ActiveRecord class is very needed... just as much (or needed more, imo) than the other classes documentation. I say this because when I build an app, I am always thinking of the database …
Comment by
Phil Sturgeon
January 2011
permalink
More logical to move the App directory outside of the fuel directory
Nothing to do with your host, you manage your app locally and then put it online. Even if you only track your project with Git then FTP the whole thing up it's still better than just dragging around unversioned files. It's not the 90'…
Comment by
Phil Sturgeon
January 2011
permalink
More logical to move the App directory outside of the fuel directory
Use git for everything, all the time. git remote add fuel git://github.com/fuel/fuel.git git pull fuel master And bam, you're upgraded.
Comment by
Phil Sturgeon
January 2011
permalink
Cookie size
Ha! Well as you can see these forums are bloody awful, but we are working on it.
Comment by
Phil Sturgeon
January 2011
permalink
DataMapper for FUEL
It's not very easy to migrate code from Doctrine, or Propel, or Rails either. However you look at this, converting a site from one framework to another will require some re-factoring whether it has the same ORM or not. Even a ported DataMapper…
Comment by
Phil Sturgeon
January 2011
permalink
More logical to move the App directory outside of the fuel directory
The reason CodeIgniter moves application outside of system was so those users not tracking their systems with VCS could easily just delete the "system" directory and replace it with that of the new version. Before the move application wou…
Comment by
Phil Sturgeon
January 2011
permalink
Coding Standards
There is no standard to how PHP code is written, but many style guides. We follow Allman style, but of course you can code in whatever style you like. You don't have to look at the core.
Comment by
Phil Sturgeon
January 2011
permalink
Cookie size
There is a 4kb limit to a cookie, perhaps your code is assigning too much?
Comment by
Phil Sturgeon
January 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
Phil Sturgeon
Joined
November 2010
Visits
0
Last Active
May 2012
Roles
Member