Search found 9 matches

by MKayHavoc
Fri Apr 25, 2008 4:24 am
Forum: PHP - Code
Topic: Best Practice Approach to My Situation?
Replies: 3
Views: 165

Re: Best Practice Approach to My Situation?

Actually no, how LDAP actually works is fine. I've got the script to make it all work and everything. What I mean is, I pass to my smarty template a variable called "content", which typically is content pulled from my database. On this occasion I want, in place of the content, a directory ...
by MKayHavoc
Fri Apr 25, 2008 3:10 am
Forum: PHP - Code
Topic: Best Practice Approach to My Situation?
Replies: 3
Views: 165

Best Practice Approach to My Situation?

Hi, I'm building an Object Orientated, Smarty Template driven, Intranet. It's the first thing I've built completely OOP, and the first time I've used Smarty. Here's what currently happens. Content and Navigation are dynamically generated from a database, however I'm now building a Telephone Director...
by MKayHavoc
Mon Apr 14, 2008 9:01 am
Forum: PHP - Code
Topic: Dealing with Absolute and Relative Links (Dev Env)
Replies: 13
Views: 834

Dealing with Absolute and Relative Links (Dev Env)

Hi, I'm setting up a development box to move away from developing directly on my live box. The issue i'm having is knowing how best to deal with relative/absolute links. For example my dynamic navigation has it's links set to e.g. http://www.mysite.co.uk/marketing/index.php Obviously when I'm develo...
by MKayHavoc
Tue Feb 26, 2008 4:59 am
Forum: PHP - Code
Topic: Using PEAR for Applications
Replies: 5
Views: 598

Re: Using PEAR for Applications

Ahhh.... go-pear, ingenious!
by MKayHavoc
Sat Feb 23, 2008 3:57 am
Forum: PHP - Code
Topic: Using PEAR for Applications
Replies: 5
Views: 598

Re: Using PEAR for Applications

OK, that's great. Is there any guide or tutorial for doing this that you guys know of?
by MKayHavoc
Fri Feb 22, 2008 8:38 am
Forum: PHP - Code
Topic: Using PEAR for Applications
Replies: 5
Views: 598

Using PEAR for Applications

I'm new to OOP and PEAR so just looking for some clarification.

If I build an app using PEAR and i use a package that isn't installed on a clients server and I don't have access to install the package, can the package be stored locally within the app?
by MKayHavoc
Wed Feb 20, 2008 3:46 am
Forum: PHP - Code
Topic: New to OOP, but have a specific question.
Replies: 8
Views: 192

Re: New to OOP, but have a specific question.

Thanks guys. I seem to be getting to grips with it more now.
by MKayHavoc
Tue Feb 12, 2008 4:17 am
Forum: PHP - Code
Topic: New to OOP, but have a specific question.
Replies: 8
Views: 192

Re: New to OOP, but have a specific question.

I get the passing the config object around. Were I get confused is, say I have a index page and a blogwriting page. The config object applies to both pages. So I instantiate it on the index, then I move to the blogwrting page... the object is gone? I need to instantiate it again. How do I maintain t...
by MKayHavoc
Tue Feb 12, 2008 3:43 am
Forum: PHP - Code
Topic: New to OOP, but have a specific question.
Replies: 8
Views: 192

New to OOP, but have a specific question.

Hi all, I'm new to OOP and I'm just really getting to grips with the terminology. But I have kind of a specific question. Procedurally I would typically have a config file for my application, say a blog engine. I'd then include this config file on every page. How would you typically achieve the same...