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.

Messages

  Messages Help
Advanced
Messages 676 - 705 of 4136   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
676
Okay, thanks to Phillip's testing in a more real-life environment, I have updated the code once more to check if the functions and classes are defined before I...
David Huyck
davidhuyck
Offline Send Email
Apr 1, 2002
5:42 pm
677
Hello I wanted to check with the group to see if the source already exists? I am working on a very complex php fusebox application and really need to develop a...
emptyvoid
Online Now Send Email
Apr 2, 2002
12:06 am
678
That's great news, I was going to ask that question myself. Nice one Synthis! -- Gavin Lilley, Internet / Intranet Developer Halesowen College...
Gavin Lilley
gslilleyuk
Offline Send Email
Apr 2, 2002
10:54 am
679
I'm fairly new to Fusebox 2 and I've just recently become acquainted with Fusebox 3 for PHP. I thought I understood what a XFA was; in practice, though, I...
wilsogar
Offline Send Email
Apr 2, 2002
2:33 pm
680
Take a look at this example, it's really simple but basic idea should become clear when you understand it. It's simple feedback form for bigger application...
Tero Pikala
tepi90
Offline Send Email
Apr 2, 2002
2:49 pm
681
I'll give this a go... To start, XFAs are not required by Fusebox at all. They are very convenient and can save a lot of time over the long run, but they are...
David Huyck
davidhuyck
Offline Send Email
Apr 2, 2002
3:01 pm
682
XFAs are used as aliases to determine communication between fuses. In your site content, any links to other sections should use XFAs. Here's an example of a...
Mike Britton
mbritton72
Offline Send Email
Apr 2, 2002
3:17 pm
683
Thanks so much for all your help. Between the three posts I've seen so far I've think I've got a handle on XFAs finally. Damn I love this forum! You guys...
wilsogar
Offline Send Email
Apr 2, 2002
7:01 pm
684
i was wondering what people's thoughts were on implementing classes verses includes in their fbx_Switch file. in other words, instead of the following: case...
bt
maxbobby2001
Offline Send Email
Apr 2, 2002
9:41 pm
685
It wouldn't improve in performance. It might in some cases, but overall architecture should be different, IMHO, so it can't be compared. In fbx_Switch.php file...
Mindaugas Pelionis
kewlariuz
Offline Send Email
Apr 2, 2002
9:51 pm
686
Clearly this does not break Fusebox at all. You are not even required to use a switch statement in the fbx_Switch file... I'd love to see some benchmarks ...
David Huyck
davidhuyck
Offline Send Email
Apr 2, 2002
9:56 pm
687
i thought there may be a performance increase due to the fact that class files could remain persistent in memory, i.e., you could initialize an "navigation"...
bt
maxbobby2001
Offline Send Email
Apr 2, 2002
10:06 pm
688
Oh, I see-- I think the difference here is that with PHP, a class only persists as long as the request is processing. In other OO languages, an object can...
David Huyck
davidhuyck
Offline Send Email
Apr 2, 2002
10:20 pm
689
Personally I find includes more readable in fbx_switch. I also use classes quite heavily to reduce my development time eg I wrote a recordset class that...
Rob Lorimer
roblorimer
Offline Send Email
Apr 2, 2002
11:56 pm
690
... "i was wondering what people's thoughts were on implementing classes verses includes in their fbx_Switch file." ... "Personally I find includes more...
Michael Kimsal
mgkimsal
Offline Send Email
Apr 3, 2002
12:18 am
691
hi david, thanks for the insight. i also have a 'stopwatch' class that i use in debug mode to show execution time. how do you integrate your class into your...
bt
maxbobby2001
Offline Send Email
Apr 3, 2002
1:42 am
692
Hi, David. Is the Module() can be make work not only at Main Circut. But also at any child Circuits. Regards Eko http://www.haltebis.com...
Boy Next Door
ekobudi@...
Send Email
Apr 3, 2002
7:56 am
693
... So the action class has a bunch of methods like DoSomething(), DoSomethingElse() etc? If so then the class file will eventually grow too big and you lose...
Erki Esken
mcknzm
Offline Send Email
Apr 3, 2002
9:37 am
694
Perhaps my way is a poor way, but I tend to include class definitions in the fbx_settings file. That way the class is available everywhere, and depending on...
Keith Young
tca_ky
Offline Send Email
Apr 3, 2002
1:42 pm
695
It ain't poor. db connectivity class is used in entire application, and not in a single fuse only. It's normal to have application-wide used classes defined...
Mindaugas Pelionis
kewlariuz
Offline Send Email
Apr 3, 2002
1:47 pm
696
erki! I didn't know you toyed with PHP! :) Cheers, Keith. ... So the action class has a bunch of methods like DoSomething(), DoSomethingElse() etc? If so then...
Keith Young
tca_ky
Offline Send Email
Apr 3, 2002
1:49 pm
697
... correct. the idea is to encompass most of the business logic in the action class, instead of in the fbx_Switch file. There could be several action classes,...
bt
maxbobby2001
Offline Send Email
Apr 3, 2002
5:17 pm
698
Hey all, I am sufferring a major brain cramp here. What's wrong with the logic below? Its all one page calling itself. Why doesn't the $_SESSION variable...
Keith Young
tca_ky
Offline Send Email
Apr 3, 2002
7:04 pm
699
If you ask me, it's a stupid question whether include files or classes are better. They are no alternatives. Like Michael Kimsal said: "We 'include' files with...
Ferdinand Beyer
fbeyer@...
Send Email
Apr 3, 2002
8:09 pm
700
You need session_start(); before any use of $_SESSION array :) Cheers, Mindaugas...
Mindaugas Pelionis
kewlariuz
Offline Send Email
Apr 3, 2002
8:19 pm
701
Ah! Good find. There is also a setting in the PHP.ini file or .htaccess, if you use Apache. php_flag session.auto_start on HTH, David Huyck b@... ...
David Huyck
davidhuyck
Offline Send Email
Apr 3, 2002
8:36 pm
702
ok...that totally sucked :) I had myself completely convinced I didn't need to do that with the new $_SESSION global :) *sigh* live and learn :) Thanks...
Keith Young
tca_ky
Offline Send Email
Apr 3, 2002
10:24 pm
703
Easy to be confused there-- I think the new deal is that you don't have to use session_register() anymore... You still have to start the session, I guess... ...
David Huyck
davidhuyck
Offline Send Email
Apr 3, 2002
10:51 pm
704
I have the same problem, is it something i have to toggle in the .ini file? calvin __________________________________________________ Do You Yahoo!? Everything...
Calvin Cheah
cheah_csl
Offline Send Email
Apr 4, 2002
7:24 am
705
I think the consensus was that you have to either use session_start() in your root fbx_Settings.php file, or you can also set session.auto_start on in the ...
David Huyck
davidhuyck
Offline Send Email
Apr 4, 2002
3:07 pm
Messages 676 - 705 of 4136   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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