Member since Apr 11, 2007, follows 2 people, 1 public groups, 201 public bookmarks (394 total).
More »
Tags
| Recent Tags: |
|
|---|---|
| Top Tags: |
|
More »
Recent Bookmarks and Annotations
-
Map Development Platform - MapQuest Developer Network on 2009-10-12
-
count, you must migrate your accounts to a My Places account. You can find inform
-
-
Create a REST API with PHP « Gen X Design | Ian Selby on 2009-03-11
-
there are two main components of a RESTful response: the response body, and a status code.
-
-
The Definitive Guide to symfony | Chapter 11 - Ajax Integration | symfony | Web PHP Framework on 2009-02-18
-
In XHTML, JavaScript code blocks must be enclosed within CDATA declarations. But pages requiring multiple JavaScript code blocks can soon become tedious to write. That's why symfony provides a
javascript_tag()helper, which transforms a string into an XHTML-compliant<script>tag. -
Ajax actions don't include the web debug toolbar in the development environment. Also, they skip the decoration process (their template is not included in a layout by default). If you want an Ajax view to be decorated, you need to specify explicitly
has_layout: truefor this view in the moduleview.ymlfile.
-
-
DevPapers - article UnitTesting in PHP using SimpleTest on 2009-02-17
-
The line: $this->UnitTestCase('File Manipulation Test'); is optional and it just makes a header line in the test reporter (we will talk about this later).
-
-
Chapter 6. Fixtures on 2009-02-16
-
One of the most time-consuming parts of writing tests is writing the
code to set the world up in a known state and then return it to its
original state when the test is complete. This known state is called
the fixture of the test. -
setUp()andtearDown()will be
called once for each test method run. - 2 more annotations...
-
-
Chapter 5. The Command-Line Test Runner on 2009-02-16
-
UnitTestmust be either a class that inherits
fromPHPUnit_Framework_TestCaseor a class that
provides apublic static suite()
-
-
Chapter 4. Writing Tests for PHPUnit on 2009-02-16
-
By default, PHPUnit converts PHP errors, warnings, and notices that are
triggered during the execution of a test to an exception. Using these
exceptions, you can, for instance, expect a test to trigger a PHP error as
shown in -
PHPUnit_Framework_Error_Noticeand
PHPUnit_Framework_Error_Warningrepresent PHP notices
and warning, respectively.
-
-
Chapter 2. PHPUnit's Goals on 2009-02-16
-
When you test an object with PHPUnit, you do so only through the
object's public interface. Testing based only on publicly visible
behaviour encourages you to confront and solve difficult design problems
earlier, before the results of poor design can infect large parts of the
system. -
PHPUnit assumes that most tests succeed and it is not worth reporting
the details of successful tests. - 3 more annotations...
-
-
symfony framework forum: askeet => Creating a Robust Referer in Logins on 2009-02-06
-
Hi, everyone.
It seems that many of us have problems being able to direct logged-in users to the original page they were trying to access.
Take note that the Request contains the original module, action, etc. that the user was trying to access. The security filter forwards the user to the login action when login is required, thus preserving all the original request information. You can use this information to set the referer in your login form and then redirect after login. It's perfectly robust, requires no special hacks and does not depend on consistent browser behavior beyond the usual form submission stuff.
-Roy
-
-
The Definitive Guide to symfony | Chapter 6 - Inside The Controller Layer | symfony | Web PHP Framework on 2009-02-05
-
The default
mod_rewriteconfiguration will useindex.phpwhen the URL doesn't contain a front controller script name. So both of these URLs display the same page (mymodule/index) in the production environment: -
This process justifies the structure of the filter classes. They all extend the
sfFilterclass, and contain oneexecute()method, expecting a$filterChainobject as parameter. Somewhere in this method, the filter passes to the next filter in the chain by calling$filterChain->execute().
-
More »
Groups
-
CSS Evangelist
386 members, 809 items
a collection of resources of all things CSS- Include how-tos, articles, resources, tools, etc...
Gautham K follows 2 people
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo