Search the web
Sign In
New User? Sign Up
PHP-fusebox · Fusebox methodologies in PHP
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Fusebox Cake   Message List  
Reply | Forward Message #4151 of 4156 |
Re: [php-fusebox] Fusebox Cake

Hi Flavio,

Actually PHP and ColdFusion are very similar, they both have essentially the same scope and overlap almost perfectly. Your myFuses project does a great job of reading in and parsing the fusebox.xml and circuit.xml files, but there's a whole other section that needs to be present in order for it to be Fusebox. Things like fusebox.[app]init.php, plugins, custom verbs and the whole myFusebox object which is the public API for reading in the cached fusebox structure must be common to all ports of Fusebox. There are several CFers who had to pick up PHP for a project, and were able to hit the ground running because the PHP port of Fusebox gave them a foundation that they already understood.

I'm happy you made myFuses, really! But it can't be called Fusebox until a ColdFusion Fusebox application can be ported literally into PHP and vice versa. It's not risky at all. I've done it myself when a project I started on in one language needed to be available on a server for a different language. I ported a fairly complex CMS from PHP to CF Fusebox over a single weekend, possible only because the fusebox syntax was perfect as-is (with some language search-and-replace of course). If I had started with a myFuses application with your templating and Ajax etc, I would have been frustrated and discouraged immediately when I started my port into CF, because I would assume the same functionality existed there. If I made a CF Fusebox application that accessed myFusebox.getMyself() and after rewriting it to $myFusebox->getMyself() it threw an error in PHP, I would be equally frustrated and discouraged.

If it's possible, I would love to see your smarty, dojo, form validation, ajax and object mapping features refactored into configurable PHP Fusebox plugins or custom verbs. With this kind of functionality, a lot of things that are missing from Fusebox would be available, and we can move the project forward together.

Mike
http://www.fusebuilder.net




Flávio Garcia wrote:
Mike,

I don't understand. What part of api isn't present? I need to understand this view bacause I'm alone in this project and I think I can't handle this for a long time. It's hard to find developers.

You want to create a port. Ok. But The PHP is very diferent of CFML. This point of view can be a risk don't you think.

What is your idea for this port, how can I help you.

-- Flávio Garcia

2009/6/24 Mike Ritchie <starkraving2002@...>
Hi Flávio,

I've looked at your myFuses code and it's really good, probably better than mine in fact (not hard I assure you). Unfortunately I can't treat it as a "Fusebox" core because the API is not present here. One of the things that makes Fusebox really good is that there is a consistency between PHP and CF that makes it ideal as a tool for developers to switch to a different language. That consistency means there needs to be an $application['fusebox']->fuseactionVariable, and a $myFusebox->originalCircuit for example. Reading in the Fusebox XML and parsing it out as application code is an important part of Fusebox the framework but it's only a part.

Having said that I'd love to have you on the Fusebox team! I'm self-taught when it comes to PHP and I'm the first to admit that the code I wrote may not be the best. What it does do though is mirror the CF version perfectly, which is mandatory for us to be a "port" of Fusebox. Flávio Garcia wrote:
Hi Mike,

I rewrite the fusebox framework and create another project called myFuses that still fusebox but more robust. I think that fusebox its the powerful controller for PHP but in one project we need more for that reason we create another framework that extends the myFuses and uses smarty, dojo, ajax and implement some form operations like validating and object mapping.

I use this project in more than 43 projects in Ministry of Environment of Brazil and other consultings. If you want to know more I will be glad.

I need help to build documentation and other things.

Thanks,

Flávio Garcia

On Tue, Jun 23, 2009 at 2:10 PM, Mike <starkraving2002@... <mailto:starkraving2002@...>> wrote:

   Was talking to one of my buddies on this list and he mentioned
   that he actually was doing less work in FB for small
   quick-and-dirty sites because it was too much work. Apparently
   he's using CakePHP a lot for those kinds of sites and actually
   digs it.

   I love FB and use it for everything, but I'm the first to admit
   that there are several frameworks for PHP that are stronger. What
   I'd like to know is if anyone is interested in coordinating with
   me to bring the feature-set of Cake into PHP Fusebox? As a plugin
   maybe? I'm not exactly sure how it would work as yet because I
   must admit that I'm not too sure what all Cake does, or how it
   does it. But I'd be game to do something of this kind with some
   serious involvement from someone else.

   Mike
   http://www.fusebuilder.net



   ------------------------------------

   Check out the new Fusebox Forums at:
   http://www.fusebox.org/forums/
   ---- ---- ---- ---- ---- ---- ---- ----Yahoo! Groups Links

   <*> To visit your group on the web, go to:
      http://groups.yahoo.com/group/PHP-fusebox/

   <*> Your email settings:
      Individual Email | Traditional

   <*> To change settings online go to:
      http://groups.yahoo.com/group/PHP-fusebox/join
      (Yahoo! ID required)

   <*> To change settings via email:
      mailto:PHP-fusebox-digest@yahoogroups.com
   <mailto:PHP-fusebox-digest@yahoogroups.com>
      mailto:PHP-fusebox-fullfeatured@yahoogroups.com
   <mailto:PHP-fusebox-fullfeatured@yahoogroups.com>

   <*> To unsubscribe from this group, send an email to:
      PHP-fusebox-unsubscribe@yahoogroups.com
   <mailto:PHP-fusebox-unsubscribe@yahoogroups.com>


   <*> Your use of Yahoo! Groups is subject to:
      http://docs.yahoo.com/info/terms/







Fri Jun 26, 2009 6:24 pm

starkraving2002
Online Now Online Now
Send Email Send Email

Forward
Message #4151 of 4156 |
Expand Messages Author Sort by Date

Was talking to one of my buddies on this list and he mentioned that he actually was doing less work in FB for small quick-and-dirty sites because it was too...
Mike
starkraving2002
Online Now Send Email
Jun 23, 2009
5:11 pm

Thanks AJ, posting to the board now......
Mike Ritchie
starkraving2002
Online Now Send Email
Jun 26, 2009
6:05 pm

Hi Flavio, Actually PHP and ColdFusion are very similar, they both have essentially the same scope and overlap almost perfectly. Your myFuses project does a ...
Mike Ritchie
starkraving2002
Online Now Send Email
Jun 26, 2009
6:25 pm

Time permitted, I'd be interested in helping you think through how it might work....
skyegior
Online Now Send Email
Oct 20, 2009
6:16 pm

Thanks man! Let me know when you can get started and I'll work with you defining our goals and the scope of what we're going to try to do. Mike ...
Mike Ritchie
starkraving2002
Online Now Send Email
Oct 21, 2009
5:35 am

I tried learning cake but it was too confusing at first. Based on the advice of a friend I tried Kohana. It's very cool and extremely fast, but a completely...
Geoffrey Hoffman
m2guru
Offline Send Email
Oct 21, 2009
2:55 pm

Mike and sky, I'd like to offer myself to help with this. I'm not all that familiar with Cake, but I can learn. If you come up with some concrete tasks or...
AJ Ferrigno
mr.boldman
Offline Send Email
Oct 29, 2009
1:53 pm

Thanks AJ! The important thing is identifying the features that people like about Cake and frameworks like it, so that we can come up with a way to incorporate...
Mike Ritchie
starkraving2002
Online Now Send Email
Oct 30, 2009
4:32 pm
< Prev Topic  |  Next Topic >
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help