Skip to main content

Home/ PHP Programming/ Group items matching "1" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
4More

Secure File Upload with PHP - 0 views

  •   $ext = substr($filename, strrpos($filename, '.') + 1);
  • ($ext == "jpg")
  • $_FILES["uploaded_file"]["type"] the MIME type of the uploaded file (if the browser provided the type)
1More

Rephlux - A continuous integration tool for PHP - 0 views

  • Rephlux is a PHP based tool for running a continuous testing/build process on your project and taking action based on the outcome of your tests. It is inspired by the Java based CruiseControl[1]. It is free software, licensed under the GNU GPL (see the file COPYING for details).
19More

Dr. Dobb's | Extreme Testing | juin 1, 2003 - 0 views

shared by Sarah HL on 29 Jun 09 - Cached
  • First, you quickly add a test
  • TDD employs five basic steps
  • The second step involves running your tests
  • ...15 more annotations...
  • Third, you make a little change to your functional code
  • Next, you run the tests
  • In the optional fifth step, you refactor your code to remove any duplication.
  • two simple rules. First, you should write new business code only when an automated test has failed. Second, you should eliminate any duplication that you find.
  • Your designs must consist of highly cohesive
  • You write your own tests because you can’t wait
  • the running code providing feedback between decisions
  • Test-Driven Development (Addison-Wesley 2003)
  • a Smalltalk system with a completely test-driven approach that took four years and 40 person-years of effort
  • there’s far more to testing than unit tests, so you’ll still need other testing techniques such as functional testing, user acceptance testing, system integration testing and so on.
  • you have a clear measure of success
  • most programmers don’t read the written documentation for a system; instead, they prefer to dig right into the code.
    • Sarah HL
       
      Follow the "natural" tendance of the developers, a pro TDD
  • Your acceptance tests define exactly what your stakeholders expect of your system; therefore, they truly do determine a good portion of your requirements.
  • Bob Martin says it best: “The act of writing a unit test is more an act of design than of verification. It’s also more an act of documentation than of verification.
  • Side by Side: Comparing TDD and AMDD TDD shortens the programming feedback loop; AMDD abridges the modeling feedback loop. TDD provides detailed specification (tests), while AMDD provides traditional specifications (agile documents). TDD promotes the development of high-quality code; AMDD encourages high-quality communication between your stakeholders and other developers. TDD provides concrete evidence that your software works, whereas AMDD supports your entire team, including stakeholders, in working toward a common understanding. TDD provides finely grained, concrete feedback in minutes. However, concrete feedback requires developers to follow the practice Prove It With Code, and they may become dependent on non-AM techniques; AMDD lets you get verbal feedback in minutes. TDD ensures that your design is clean by focusing on creation of callable and testable operations; AMDD lets you think through larger design and architectural issues before you code. TDD isn’t visually oriented; AMDD is. Both techniques are new and therefore may be threatening to traditional developers. Both techniques support evolutionary development. —S. W. Ambler

Instant Fix Slow Computer Solutions - 0 views

started by paul silmonet on 08 Jun 11 no follow-up yet

Working with Desktop Support Professionals - 2 views

started by sandy bass on 07 Jun 11 no follow-up yet

Quality Computer Help Desk Support Services - 1 views

started by helen hunt on 07 Jun 11 no follow-up yet

Getting Used to Help and Support - 1 views

started by shayne mosley on 07 Jun 11 no follow-up yet

Online Threats and Dangers - 2 views

started by john sega on 07 Jun 11 no follow-up yet

I Need Computer Technical Help Now - 2 views

started by joey potter on 07 Jun 11 no follow-up yet

Blue Screen of Death - 1 views

started by helen troy on 07 Jun 11 no follow-up yet

Reliable Online Computer Repair - 3 views

started by cecilia marie on 06 Jun 11 no follow-up yet

Great Remote Computer Support Services - 3 views

started by hansel molly on 06 Jun 11 no follow-up yet

Two Thumbs Up For Computer Assistance Services - 2 views

started by seth kutcher on 06 Jun 11 no follow-up yet

Renewing My Remote Computer Help Subscription - 3 views

started by sally pearson on 06 Jun 11 no follow-up yet

Getting Used to Help and Support - 0 views

started by anonymous on 12 May 11 no follow-up yet

Online Computer Tech Support Service that Understands Urgency - 1 views

started by Sanny Y on 14 Jun 11 no follow-up yet

Fix Slow Computer Today Did A Good Job - 1 views

started by Aliyah Rush on 12 Aug 11 no follow-up yet

Get Rid of Computer Freezing - 1 views

started by helen troy on 12 Aug 11 no follow-up yet
‹ Previous 21 - 40 of 71 Next › Last »
Showing 20 items per page