note 107671 added to v8js.examples
| From: | ben at chico dot com | Date: | Sat, 25 Feb 2012 03:15:22 +0000 |
| Subject: | note 107671 added to v8js.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186348@lists.php.net to get a copy of this message | ||
While the usefulness of embedding javascript into PHP may not seem immediately obvious, a highly
useful scenario presents itself to me immediately: The ability to run phpunit test on not only your
PHP functions, but also the .js files used within your application!
Yes, there are JS unit tests, but the utility of having everything in one place with proper deps
checking should not be ignored.
----
Server IP: 69.147.83.197
Probable Submitter: 24.23.4.182
----
Manual Page -- http://www.php.net/manual/en/v8js.examples.php
Edit -- https://master.php.net/note/edit/107671
Del: integrated -- https://master.php.net/note/delete/107671/integrated
Del: useless -- https://master.php.net/note/delete/107671/useless
Del: bad code -- https://master.php.net/note/delete/107671/bad+code
Del: spam -- https://master.php.net/note/delete/107671/spam
Del: non-english -- https://master.php.net/note/delete/107671/non-english
Del: in docs -- https://master.php.net/note/delete/107671/in+docs
Del: other reasons-- https://master.php.net/note/delete/107671
Reject -- https://master.php.net/note/reject/107671
Search -- https://master.php.net/manage/user-notes.php