I still use SimpleTest. It might not be under development any more but it does everything you need (for now) and it does it well.
For testing your Javascript stuff I'd recommend QUnit.
Search found 4783 matches
- Tue Mar 22, 2011 5:40 am
- Forum: PHP - Theory and Design
- Topic: Unit testing?
- Replies: 8
- Views: 3919
- Tue Feb 15, 2011 6:23 am
- Forum: General Discussion
- Topic: PHPNE - New PHP User Group for NE England
- Replies: 1
- Views: 775
PHPNE - New PHP User Group for NE England
Hey, It's horribly late notice, but if you're based in the North East of the England (the UK) there's a new PHP user group starting tonight (15/02/2011) at the Town Wall on Pink Lane. I didn't organise it, but I will be attending and banging the DevNetwork drum*. It'll be a regular thing I imagine s...
- Tue Feb 15, 2011 6:11 am
- Forum: PHP - Code
- Topic: saving category name into db instead of id number
- Replies: 3
- Views: 220
Re: saving category name into db instead of id number
Sorry, but no. You should be using the ID number instead of the name. That's the whole point of having the ID numbers. Actually, I don't agree. Using the text (aka a "natural language key") is preferable for things that don't change and that you'll always have to look up. There's little p...
- Fri Aug 06, 2010 3:48 am
- Forum: General Discussion
- Topic: What makes a good programmer?
- Replies: 4
- Views: 845
Re: What makes a good programmer?
Yeah, this guy was a bit of an arse. He has a worldview that is in incapable of realizing there are situations and circumstance that are different then his. Gave me 2 hours of training on an online project management system that wasn't the answer he thought it was, then immediately started to bitch...
- Mon Jul 12, 2010 7:52 am
- Forum: HTML, CSS and other UI Design Technologies
- Topic: Is html5 local storage file exist or just in PC memory?
- Replies: 2
- Views: 1762
Re: Is html5 local storage file exist or just in PC memory?
It's stored in a file, but I believe the location and type of file is entirely up to the browser developer. It could be a temporary file in the browser cache, or a permanent SQLlite database, or something in the OS temp cache... anything really. If you're worried about it disappearing when the user ...
- Tue Jun 29, 2010 3:43 am
- Forum: PHPDN
- Topic: help to design MLM Archtecture & Sofware
- Replies: 1
- Views: 16818
Re: help to design MLM Archtecture & Sofware
Multi-level marketing is illegal in most countries, consequently I'm locking this thread.
- Thu May 27, 2010 9:58 am
- Forum: General Discussion
- Topic: Should I do My WebApps In PHP?
- Replies: 4
- Views: 767
Re: Should I do My WebApps In PHP?
Write your website in the language you know best, or the language that you want to get to know best. That's the only criteria (at the beginning). But understand that you'll need to know, or pay someone else to write, the following: HTML, CSS, JavaScript, SQL and either ASP or PHP (or Ruby, Erlang, T...
- Fri May 21, 2010 3:53 am
- Forum: Volunteer Work
- Topic: [COLAB] Community Project
- Replies: 10
- Views: 5489
Re: [COLAB] Community Project
No one is really interested in my idea though... Sad. Everyone has a limited amount of time they can spend on things, and if your idea hasn't sparked their imagination enough to make them want to lend a hand that's a shame - but that doesn't mean the idea is bad or unoriginal or anything. Don't be ...
- Tue May 18, 2010 4:25 am
- Forum: Volunteer Work
- Topic: [COLAB] Community Project
- Replies: 10
- Views: 5489
Re: [COLAB] Community Project
I can't tell if you're trying to do "Digg for forums", or something like what Vanilla does. http://vanillaforums.org/ Vanilla forums use a system of tags to group discussions together rather than the traditional categories system of phpBB etc.
- Mon May 17, 2010 6:09 pm
- Forum: Volunteer Work
- Topic: [COLAB] Community Project
- Replies: 10
- Views: 5489
Re: [COLAB] Community Project
my idea was almost stolen once before So what if someone steals your idea? If it's a good idea someone will steal it as soon as you release your first version. I can guarantee that. The only benefit you're getting by refusing to share it is a tiny headstart on the competition. What you're losing is...
- Mon May 17, 2010 5:41 am
- Forum: The Enterprise
- Topic: Open Specifications
- Replies: 1
- Views: 4242
Open Specifications
I've got an idea about writing some open specifications for the bits of websites that are always having to be integrated into every site we write - things like News, Event calendars, User registration (and login, forgotten passwords, etc), Contact Forms... essentially it'd be a list of things that y...
- Thu May 13, 2010 4:48 am
- Forum: PHP - Code
- Topic: Zend_Feed_RSS Categories
- Replies: 1
- Views: 209
Zend_Feed_RSS Categories
I'm reading an RSS feed that contains elements like: <item> <title>This is the title</title> <link>http://link.com/</link> <description>Description blah blah blah</description> <category>Gardening</category> <category>Plants</category> <category>Flowers</category> </item> How do I access those categ...
- Tue May 04, 2010 3:41 am
- Forum: PHP - Code
- Topic: is there a way to stop a script if a client don't pay
- Replies: 4
- Views: 309
Re: is there a way to stop a script if a client don't pay
It's easy on the face of it, but it's actually very difficult to do securely. $key = mktime(0,0,0,4,5,2011); echo $key; That's the key that you give the customer: "1301958000". Save that into key.txt and give it to the customer. $key = file_get_contents("key.txt"); if (mktime() >...
- Thu Apr 22, 2010 8:54 am
- Forum: PHP - Code
- Topic: Comparing web pages
- Replies: 0
- Views: 522
Comparing web pages
I have an idea for a side project that takes a URL and detects whether or not there's a mobile specific version of it. Essentially the idea is to grab a page using cURL with the User Agent string set to a mobile browser (eg iPhone) and see if there's any redirection to a mobile.domain.com or m.domai...
- Thu Apr 22, 2010 3:00 am
- Forum: PHP - Code
- Topic: How to pick english sentences between many languages?
- Replies: 1
- Views: 261
Re: How to pick english sentences between many languages?
There's a class in PEAR called Text_LanguageDetect that does want you want. It works pretty well. http://pear.php.net/manual/en/package.t ... detect.php