 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Lorna Mitchell: Five Clues That Your API isn't RESTful
by Chris Cornutt January 23, 2013 @ 10:50:49
Lorna Mitchell has posted a quick checklist of things you can ask about your API to see if it's RESTful or not (five of them):
I get a lot of emails asking me to get involved with API projects, and that means I see a lot of both implemented and planned "RESTful" APIs. [...] A service of some other description may work better for other scenarios or skill sets, and non-RESTful services can be very, very useful. If you tell me that your service is RESTful, then I expect it to be. If you're not sure, look out for these clues:
- It has a single endpoint
- All requests are POSTs
- Response metadata is in the body, not header
- There are verbs in the URL
- The URL includes method names
She suggests, though, that "being RESTful" isn't a requirement for "being useful" when it comes to APIs.
voice your opinion now!
api rest restful tips questions problems
Nikita Popov's Blog: PHP solves problems. Oh, and you can program with it too!
by Chris Cornutt July 02, 2012 @ 08:12:19
In this recent post
Nikita Popov looks at some of the usefulness of PHP and some responses to this post from Jeff Atwood about the language.
People come to PHP because they have some problem and they need to solve it. This is what PHP really shines at. You can simply take your static HTML website, add a simple <?php include 'counter.php'; ?> in there, and … be done! From there you start writing simple scripts, learn how to process forms, how to talk to the database, etc. After some time you start using object oriented programming and maybe make use of some framework.
He supports Jeff's thoughts on the usefulness of the language, but points out one part of the post that clearly shows an incorrect view of PHP's current state. It points out how "so little has changed in PHP" and Nikita refutes it with some of the most recent updates including advanced OOP support, namespacing and lambda support.
voice your opinion now!
opinion jeffatwood language problems
Jigal Sanders' Blog: A first look at Doctrine 2.1
by Chris Cornutt July 22, 2011 @ 10:33:08
In a new post to his blog Jigal Sanders shares some of his experience in working with Doctrine 2.1 in a Zend Framework-based (1.11.9) application for his database interface needs.
I hadn't been using Doctrine for a while and decided to pick it up two weeks ago, as we wanted to see if we can implement it for our CMS at our office. So I setup a clean installation of the zend framework (1.11.9) and tried tried to implement Doctrine. The main goal was to see if we can reverse engineer existing databases and then start doing some queries.
There were three things he found in the process that caused a few issues:
- A confusing set of terms and features that weren't explained well enough to know their use
- Getting things like autoloaders working with the Zend Framework to make things work well together
- A potential bug with the "name" property on an object and some automatic namespacing Doctrine tries to do
There are already a lot of resources available on the Internet. I have looked at various configurations, like for example the 'bisna' project from Guilhere Blanco. But I keep saying that it's really difficult and has a steep learning curve. Doctrine 1.2 was really simple. Doctrine 2.x is a lot more difficult to get into.
voice your opinion now!
doctrine zendframework problems orm experience
Stuart Herbert's Blog: Missing The Business Case For PHP
by Chris Cornutt January 18, 2007 @ 08:40:00
In this new post to his blog today, Stuart Herbert suggests something that the PHP community really is in dire need of - a site/resource providing a place developers can point at to help refute some of the PHP rumors floating around and provide examples and test cases for one of the most stubborn PHP markets out there - business.
At work, we make and sell software written in a number of languages; our flagship product is written in PHP.
But one of the unfortunate side-effects of Stefan Esser's much-publicized departure from the PHP Security Team has been an increase in the number of IT staff we're coming across who "believe" both that open-source is inherently insecure, and that PHP in particular has incurable problems. These "beliefs" hurt ISVs trying to sell PHP-based applications into skeptical organizations.
He asks why there is no "Why PHP?" resource out there that clients/businesses in general can be referred to for better information. He also suggests one of the most logical fits for this kind of information and is surprised they don't really have something already - Zend. Check out the comments to see how much of the community is already behind the effort.
voice your opinion now!
business case whyphp insecure problems refute claim business case whyphp insecure problems refute claim
PHP.net: PHP 4.4.4 and PHP 5.1.5 Released
by Chris Cornutt August 17, 2006 @ 13:58:17
The latest version of both major branches of PHP have been released - PHP 4.4.4 and PHP 5.1.5 - fixing some of the major security problems that have been found in recent versions.
PHP development team would like to announce the immediate availability of PHP 5.1.5 and 4.4.4. The two releases address a series of security problems discovered since PHP 5.1.4 and 4.4.3, respectively.
Some of these problems included:
- Added missing safe_mode/open_basedir checks inside the error_log(), file_exists(), imap_open() and imap_reopen() functions.
- Fixed possible open_basedir/safe_mode bypass in cURL extension and on PHP 5.1.5 with realpath cache.
- Fixed a buffer overflow inside sscanf() function.
- Fixed memory_limit restriction on 64 bit system.
All information about the updates for these versions can be found in the Changelogs - PHP 4.4.4 and PHP 5.1.3. It's recommnded that you download these new versions and update your installation.
voice your opinion now!
version4.4.4 version5.1.3 security issues problems release version4.4.4 version5.1.3 security issues problems release
|
Community Events
Don't see your event here? Let us know!
|