TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 83
Search took 0.02 seconds.
Search: Posts Made By: Ross
Forum: TalkPHP Developer Team 01-17-2009, 10:49 PM
Replies: 49
Views: 3,075
Posted By Ross
/root ./public_html By above you mean root and...

/root
./public_html

By above you mean root and below you mean public_html right? Little confused :P
Forum: TalkPHP Developer Team 01-17-2009, 10:34 PM
Replies: 82
Views: 3,529
Posted By Ross
Could you give an example? Sorry, just never been...

Could you give an example? Sorry, just never been in that position before ;)
Forum: TalkPHP Developer Team 01-17-2009, 10:27 PM
Replies: 0
Views: 1,055
Posted By Ross
Error handling

Something that quickly needs to be setup is some sort of error handling and logging.

Obviously Exceptions are a great choice for this. What I was thinking was to create an Error exception that would...
Forum: TalkPHP Developer Team 01-17-2009, 10:21 PM
Replies: 49
Views: 3,075
Posted By Ross
I've added a Registry and (file-based)...

I've added a Registry and (file-based) Configuration setup to the repo.

Things I think need considering are:
Creating a /public/ directory for public files (e.g. htdocs, public_html) and moving...
Forum: TalkPHP Developer Team 01-17-2009, 10:01 PM
Replies: 9
Views: 1,045
Posted By Ross
Another thing, what do you think about prefixing...

Another thing, what do you think about prefixing classes with Phlox_?

I've started to do that on the Registry/Config classes (I suppose it stops clashes with other libraries) but I'm not a huge fan...
Forum: TalkPHP Developer Team 01-17-2009, 09:29 PM
Replies: 2
Views: 969
Posted By Ross
It's more configuration than constants - for...

It's more configuration than constants - for example database details. The handy thing is the configuration and the database adapter can be dumped in the registry and used all over the place...
Forum: The Lounge 01-17-2009, 09:27 PM
Replies: 2
Views: 741
Posted By Ross
@VillageIdiot

Relevant calendar today...

http://www.kalleload.net/uploads/thumbnails/bzliqhpwstwa.png (http://www.kalleload.net/uploads/bzliqhpwstwa.png)

Useful christmas present for once ;-)
Forum: TalkPHP Developer Team 01-17-2009, 08:57 PM
Replies: 82
Views: 3,529
Posted By Ross
Remember to do an SVN Update before you Commit to...

Remember to do an SVN Update before you Commit to check that noone else has edited the file since you started :)
Forum: TalkPHP Developer Team 01-17-2009, 03:45 PM
Replies: 82
Views: 3,529
Posted By Ross
Could I suggest using a DAL for the database?...

Could I suggest using a DAL for the database? E.g. an abstract database class, that is extended by the MySQL class.
Forum: TalkPHP Developer Team 01-17-2009, 03:32 PM
Replies: 9
Views: 1,045
Posted By Ross
By layer I assume you mean the class. /...

By layer I assume you mean the class. / interface. part of the filename?

My reasoning is that if we use an autoload (which makes things mcuh easier) there's no way to tell whether it's an interface...
Forum: TalkPHP Developer Team 01-17-2009, 02:35 PM
Replies: 2
Views: 969
Posted By Ross
Some contributions (Registry, application configuration)

I've got some classes that I was previously developing for a personal framework but I think would make a good addition to the app that I'd like to contribute.

Registry
This is a common solution to...
Forum: TalkPHP Developer Team 01-17-2009, 11:44 AM
Replies: 9
Views: 1,045
Posted By Ross
That's fine. I've just thought of something...

That's fine. I've just thought of something though - are we planning to take advantage of PHP5's class/interface autoloading? What is the minimum version of PHP we are supporting anyway (at least 5.1...
Forum: TalkPHP Developer Team 01-17-2009, 10:55 AM
Replies: 9
Views: 1,045
Posted By Ross
Some questions

Hi all, glad this project finally got started!

I'm about to start work on making the codebase a little cleaner but have a question:

How are we naming files?
Not entirely sure from the forums, but...
Forum: TalkPHP Developer Team 01-16-2009, 10:16 PM
Replies: 3
Views: 1,177
Posted By Ross
I mapped out the relationships for this and it...

I mapped out the relationships for this and it looks like there's a missing link between items (I assume media) and galleries. I'll make up a patch in a...
Forum: Absolute Beginners 09-09-2008, 06:59 PM
Replies: 15
Views: 1,601
Posted By Ross
I don't use hash because it just looks ugly to me...

I don't use hash because it just looks ugly to me :-)
Forum: TalkPHP Developer Team 09-06-2008, 09:52 PM
Replies: 293
Views: 9,815
Posted By Ross
SVN would be as new to me as Git is - I've only...

SVN would be as new to me as Git is - I've only used CVS - however I'm interested in learning new things.

Does Google have commit hooks?
Forum: TalkPHP Developer Team 09-05-2008, 03:46 PM
Replies: 293
Views: 9,815
Posted By Ross
Here's a nifty SVN/Project hosted site I found...

Here's a nifty SVN/Project hosted site I found the other day:

Beanstalk — Version Control with a Human Face (http://beanstalkapp.com/)
Forum: Absolute Beginners 09-03-2008, 12:19 PM
Replies: 15
Views: 1,601
Posted By Ross
In Java, Javadoc (the equivalent of PHPdoc) uses...

In Java, Javadoc (the equivalent of PHPdoc) uses /** */ comments for Javadoc comments and /* */ for plain comments.

I tend to use a /** */ when doing a multiline comment, a /* */ on an line comment...
Forum: MySQL & Databases 09-03-2008, 12:15 PM
Replies: 1
Views: 1,036
Posted By Ross
In the PHP.net manual methods are shown with a...

In the PHP.net manual methods are shown with a double colon/scope-resolution-operator (the Paamayim Nekudotayim) and properties are shown with an arrow.

For...
Forum: Tips & Tricks 09-02-2008, 08:16 PM
Replies: 53
Views: 17,530
Posted By Ross
file_put_contents('error.html',...

file_put_contents('error.html', '<p>error\'d</p>');

$ch = curl_init('error.html');
// explanatory line
curl_setopt($ch, CURLOPT_RETURN_TRANSFER, false);
curl_exec($ch);
Forum: TalkPHP Developer Team 09-01-2008, 08:43 PM
Replies: 293
Views: 9,815
Posted By Ross
Actually, does anyone have any opinions on using...

Actually, does anyone have any opinions on using a Framework rather than build it all ourselves? Seems a bit like reinventing the wheel - although it would be harder for novice users to install.
Forum: The Lounge 09-01-2008, 08:41 PM
Replies: 4
Views: 807
Posted By Ross
I really should use a framework but I'm content...

I really should use a framework but I'm content with building my own helper classes.

It's on my todo to learn Zend one day.
Forum: Feedback 09-01-2008, 06:16 PM
Replies: 3
Views: 1,045
Posted By Ross
That's default vB output. I think it's possible...

That's default vB output. I think it's possible to replace it in the acp but I'm not sure.
Forum: Member Introductions 08-31-2008, 06:09 PM
Replies: 5
Views: 669
Posted By Ross
Welcome to TalkPHP! I've always learned best...

Welcome to TalkPHP! I've always learned best trhough doing, it helps you to remember things (e.g. function parameters) if you repeatedly do them.
Forum: TalkPHP Developer Team 08-30-2008, 08:13 PM
Replies: 293
Views: 9,815
Posted By Ross
Unfortunately I've got too much on my hands...

Unfortunately I've got too much on my hands already (just been accepted into PHP.net's docbook team and I'm helping other communties as well) although I think I can spare some time for developing....
Showing results 1 to 25 of 83

 

All times are GMT. The time now is 03:21 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design