Search found 814 matches
- Wed Jun 07, 2006 12:10 pm
- Forum: PHP - Theory and Design
- Topic: The Observer. I don't get it :(
- Replies: 12
- Views: 4881
a good PHP example would be message board postings... You can use the observer pattern when someone posts a message When a user posts a message you usually want to: Send out email notification of a new post Update post counts Update other counters Update your RSS feed So if each of those puppies wer...
- Wed Jun 07, 2006 12:07 pm
- Forum: PHP - Theory and Design
- Topic: The Observer. I don't get it :(
- Replies: 12
- Views: 4881
a good example of the observer pattern is in javascript when a page loads you have an onload event that is fired in the browser. Sometimes you want to execute a function when the page loads... ok thats great but what if you want to execute 5 functions when the page loads? you could create a wrapper ...
- Sun Feb 12, 2006 9:32 pm
- Forum: General Discussion
- Topic: PHP Mag vs. PHP|Architect
- Replies: 15
- Views: 3286
- Wed Feb 01, 2006 11:37 pm
- Forum: Testing
- Topic: Unit testing HTML without oodles of regexps
- Replies: 8
- Views: 11546
personally I don't see the need to actually validate the html you're outputting with unit tests because as you say its very fragile. The goal of a unit test is to make sure the code is functioning properly with proper and improper input. So with that said what I would do is make sure that my html pr...
- Wed Feb 01, 2006 11:22 pm
- Forum: PHP - Security
- Topic: CAPTCHA - Really need some help
- Replies: 12
- Views: 7398
- Wed Feb 01, 2006 11:17 pm
- Forum: Testing
- Topic: Beginning testing - how to test NuSOAP app?
- Replies: 9
- Views: 13228
I actually created a test suite for a web services app that I was using nusoap with. Here is a sample of one of the classes I used in my test case. I used a mock object with simpletest so I could verify what was getting sent to nusoap and that the appropriate amount of calls were made. function test...
- Wed Mar 30, 2005 5:35 pm
- Forum: PHP - Code
- Topic: Advantage of Session ID in broswer query
- Replies: 4
- Views: 1497
- Wed Mar 30, 2005 5:21 pm
- Forum: PHP - Code
- Topic: Advantage of Session ID in broswer query
- Replies: 4
- Views: 1497
What did your professor say? Sounds like he was wrong this time ;) there is no advantage, in fact its horrible in a security sense, imagine if someone cut and paste'd their url which included the session id to a friend (or stranger), now that person who clicks on the link just became that user. PHP....
- Wed Feb 16, 2005 11:59 am
- Forum: Job Hunt
- Topic: PHP Programmer needed in Orange County, CA (full time)
- Replies: 0
- Views: 1473
PHP Programmer needed in Orange County, CA (full time)
I work for one of the world leaders in network security and we're currently seeking 1-2 new PHP developers full time, onsite. Relocation is possible for the right person. Please email me at: jiminoc@gmail.com or PM me on here with your resume and just a little about yourself. This is a great opportu...
- Fri Mar 05, 2004 4:30 pm
- Forum: PHP - Code
- Topic: Pie Chart
- Replies: 5
- Views: 1809
- Sat Feb 28, 2004 12:00 am
- Forum: General Discussion
- Topic: Richest Web based company?
- Replies: 14
- Views: 3851
- Sun Feb 22, 2004 9:43 pm
- Forum: General Discussion
- Topic: Richest Web based company?
- Replies: 14
- Views: 3851
- Sat Feb 21, 2004 6:31 pm
- Forum: General Discussion
- Topic: Richest Web based company?
- Replies: 14
- Views: 3851
- Sat Feb 21, 2004 6:30 pm
- Forum: General Discussion
- Topic: what the largest site you've ever created?
- Replies: 14
- Views: 3824
- Sat Feb 21, 2004 3:10 pm
- Forum: General Discussion
- Topic: what the largest site you've ever created?
- Replies: 14
- Views: 3824
at my last company I coded an ecommerce system from scratch all the shopping cart/product management/reporting/account management/etc and the site did over $2million bucks last year without any problems. at my new job I'm working on an enterprise level portal that fortune 500 companies use as well a...