Rich Zygler's Blog: People work with WS-* web services in PHP? Why?
545196
Rich Zygler has a few choice words concerning the implementation of WS-* web services in PHP and how they compare to other methods (like SOAP and REST).   IÃ¢ÂÂd love to give ws02 a fair shake because they have an open source business model. They have a web services framework for PHP which seems interesting from an academic standpoint. But I think WS-* web services are WAY too complicated when compared to REST.   He points at a certain bit of documentation (to show the "simplicity" of it) and gives a personal example of his SOAP experience with the Amazon API as well as mentioning other opinions on the matter.
596569
With a bit of a rebuttal for Harry Fuecks' statement that PHP has a great lack of international support comes this new posting from John Lim at PHPEverywhere.
704271
Greg Beaver talks about a big push that he's making towards PEAR2 by working hard on an integral piece of the puzzle - the Pyrus installer.   I'm churning out code to turn its installer, Pyrus, from vaporware into actual code. Along these lines, there has been significant progress.  The code has been developed on PHP 5.2, but will most likely target PHP 5.3 with the introduction of namespaces.  Pyrus completely revamps the way things are done.   Greg mentions some of the functionality the installer will use including XMLReader/XMLWriter, namespaces and bits of functionality from the Standard PHP Library (SPL). He's released what he's developed so far via a PEAR channel with no other dependencies.
149334
On the heels of a rant posted by Matt Mullenweg (of Wordpress), Ed Finkler has posted some of his own thoughts and rebuttals to the points Matt made.   Among these points are comments about PHP5 features that "could be helping Wordpress users right now" including:   Parameterized SQL input to eliminate SQL injection attacks Filter extension to combat XSS, CSRF, etc. attacks Prepared statement/transaction support in PDO and MySQLi Improved OOP features and support (code quality, extensibility)   Ed pushes that it's not about the slow adoption of PHP5 in other places. Its about the slow adoption of it in Wordpress so far as it relates to Matt:   The thing is, support of PHP5-only features in WP would give it better speed and security right now. And especially in the case of security, Matt's reliance on what users say they want is a critical error: users don't ask about security until well after it becomes a serious issue. Wordpress has one of the worst security records of any PHP application, so I'll go out on a limb and say that it's a problem now. Even if WP users aren't talking about it, WP's core dev team should have addressed this already.
10886
WSO2 is offering its open-source WSO2 Mashup Server product, which leverages JavaScript and Web services in assembling mashups, on Monday. In positioning the product for use by JavaScript developers, the company is looking to enable delivery of more functional mashups than can be built with alternative GUI-based tools. A hosted online version of Mashup Server, called Mooshup.com, also will be launched Monday as a community site for developing and sharing mashups.With WSO2 Mashup Server 1.0, WSO2 anticipates a confluence of Web 2.0 social capabilities and enterprise needs. "Basically, what we believe is that enterprise IT is going to go more toward a social enterprise structure where the IT offerings are not only by IT staff but by anybody in the enterprise," said WSO2 Chairman/CEO Sanjiva Weerawarana.But WSO2 is targeting Web developers who can write JavaScript. "The main purpose of WSO2 Mashup Server is to allow developers to author new Web services in JavaScript," said Jonathan Marsh, WSO2 director of mashup technologies. These Web services can be consumed within other enterprise tools and exposed as an RSS or Atom feed, he said.WSO's mashup platform is not intended to complete head-to-head with more GUI-based business level mashup products. "There's a feeling that we had that limiting yourself to a GUI right off the bat gets you started very quickly, but you quickly reach walls that block you from doing precisely what you'd like to do," Marsh said. Eventually, users of those tools have to resort to JavaScript, he said.Mashups can be authored within the administrative UI, with a text editor, or with any popular IDE, WSO2 said."It's an interesting aspect to choose JavaScript as sort of the primary scripting language," said analyst Michael Cote of RedMonk. JavaScript has been primarily used in AJAX-style (Asynchronous JavaScript and XML) development, Cote noted. But plenty of people are familiar with JavaScript, he added.Built on the WSO2 Web services application Server, WSO2 Mashup Server can use information from Web services, HTML, and feeds and publishes the result as a Web service. Each service has metadata to simplify consumption by other mashups and Web services clients. Content and presentation are separated through XML and Web services to enable a service to be consumed by another mashup.Web service and UI artifacts are generated, such as WSDL, REST URLS and JavaScript stubs. Services can be composed from such sources as Web services, RSS, and HTML.Additionally, services can be accessed using a request-response pattern or be programmed to run over a long period of time. For example, a mashup initiating instant messaging alerts can warn transport companies about possible delays when there is snow.By leveraging WSO2's application server and registry, the mashup server gains capabilities for enterprise security, reliability, and governance, WSO2 said.Mooshup.com is being launched in a beta version. "The purpose is to help us drive downloads of Mashup Server," Marsh said.WSO2 sells support services for Mashup Server, with prices ranging from $2,000 per server per year to $8,000 per server per year, depending on levels of support.
131728
Graham Charters writes, in this new post on the IBM developerWorks PHP blog today, that the first release of their Service Component Architecture (v 0.1.0) has been released.    We've just made the first release of the Service Component Architecture (SCA) for PHP prototype available. SCA allows you to turn PHP classes into Web services by adding a few simple phpDocumentor-style annotations. SCA will automatically generate WSDL for these services when required.    SCA also uses the same annotations technique to allow PHP classes to declare dependencies on other Web services or PHP classes. At runtime it will then 'inject' proxies for these dependencies, which can then be used to call the Web services or classes    You can check out documentation for the project and some examples of how it works over on this page and a whitepaper here will give you the full scoop. If you're interested, be sure to check out the Google Group for the project too.
249394
Jacob Santos makes some of his own comments about the recent PHP5 adoption talk that's been going around in the PHP community (spurred on by comments made by Matt of the Wordpress project).   Matt brings up some good points. What might be limiting PHP 5 adoption, could just be the lack of interest in developers. [...] Up until reading his rant, I've lived in a box where everyone I've talked to, used and enjoyed PHP 5 and its vast extensions. Developing in PHP 5.0 was uneventfully, but you learn to appreciate PHP 5 with the core inclusion of PDO with PHP 5.1. PHP 5 is not without annoyances. In the core developers attempts to "better" the language, they made changes that broke code that previously worked.   He looks at a few of the items for debate surrounding the move from PHP4 to PHP5 including the extensions that come bundled with PHP5, solving the register_globals issue, and a brief mention of the Standard PHP Library.
20940
As mentioned on the Zend Developer Zone, Jaybill McCarthy has written up a Blog post about ten of the PHP myths that are common on the web and the facts that dismiss them.   I am a PHP developer. Maybe even a halfway decent one. As such, I often find myself engaged in conversations on the subject of web application development in general and PHP in particular. I am continually flustered by the myths, half-truths and outright falsehoods that technical and non-technical people alike hold about this humble programming language.   Some of the points included in his "top ten" list are things like "PHP Encourages Sloppy Code", "PHP is slow because itÃ¢ÂÂs interpreted" and "PHP apps all look the same".
242013
Popular posts from PHPDeveloper.org for the past week:ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 6Nessa's Blog: Using an .htaccess with PHP Compiled as CGIArnold Daniels' Blog: How I PHP: The Output Handler - ContinuedMartynas Jusevicius' Blog: PHP 5 features: Class autoloadingSean Coates' Blog: Actually Solving a Problem (believe it or not)The Northclick Blog: Message Queue Project: First working versionStefan Mischook's Blog: A Question about object properties in PHP ClassesJob Posting: G2 Technology Seeks PHP Developer (Memphis, TN)Rob Allen's Blog: Zend_View: Access the view from a view helperDavid Walsh's Blog: Using PHP Generic Objects To Organize Your Code
313545
Luke Welling takes a humorous look at something he misses in PHP - register globals being set to on.    I am aware that there are some things so shocking that you are not supposed to say them in polite company [...] so confronting that they are best kept to yourself regardless of how strongly you believe them. I have a similarly shocking sentiment that I feel I have to share.   I really like register_globals in PHP.    He reminicies about the days gone by of being able to assume that register_globals is turned on, the days of simpler, lighter code that's even easier for the newbies to get into. Anyone for a tshirt?
661935
In this new post to his blog, Richard Heyes talks about an example he's come across of PHP being used as backend behind a large marketing project:    I recently read an interesting example at Neil Shearing's internet marketing strategies blog of combining .NET desktop software with a PHP backend.   We all know PHP is often slated by "real programmers" as a scripting language only useful for kiddie's home pages, and its nice to see a serious marketer choosing PHP to power the backend to a serious piece of viral software with the potential to go load-mad.    Richard also points out some of his experience trying to market his software and which of his customers are the ones that would provide the most return (the ones looking for updates) and how he can gather their information more productively to further his project's goals.
366947
Lukas Smith is sending a wakeup call to the internet providers and web hosters out there - get involved in the PHP community!   We do not seem to have any ISP's active inside the PHP community. This is kind of odd, considering that PHP seems to be driving the business of hosters quite a bit. Why have none of them decided that PHP is important enough for their business that its worthwhile to ensure that their interests are taken into account?   He makes the suggestion of passing along the suggestion to bosses/co-workers/anyone who'll listen about getting involved. Suggested places to start would be as a part of the testers group or even contributing to the migration guide.
264910
Scott Mattocks, like so many others, has just reciently recieved notification that he's been accepted as a speaker for the Zend/PHP Conference & Expo this fall. He talks more about his speech in his latest post.   My session, "Consusming Web Services with PHP-GTK 2&#8243; will be a look at how to turn a web services API into a desktop application. I only have fifty minutes so it won't be very heavy on implementation details. Instead it will look more at representing different data structures, collecting different types of data and how creating a desktop application can make life easier for the company and the end user.   Scott joins other speakers for this great event, including speakers like Ilia Alshanetsky, Wez Furlong, and Zeev Suraski. Be sure to check back on the Zend site soon to see when Scott and others' talks will be held.
188665
The PHP Community is buzzing about a new article, posted on the O'Reilly Ruby blog, about how the author (Derek Silvers of cdbaby.com) made the decision that Ruby on Rails just wasn't right for the project he was working on.    Back in January 2005, I announced on the O'Reilly blog that I was going to completely scrap over 100,000 lines of messy PHP code in my existing CD Baby  website, and rewrite the entire thing in Rails, from scratch. [...] The first few months showed good progress, and Jeremy could not have been more amazing, twisting the deep inner guts of Rails to make it do things it was never intended to do.   But at every step, it seemed our needs clashed with Rails' preferences. (Like trying to turn a train into a boat. It's do-able with a lot of glue. But it's damn hard. And certainly makes you ask why you're really doing this.)    Recounting the rest of the story, Derek mentions the turning point ("Is there anything Rails can do that PHP CAN'T do?") and the speed at which they were able to make up for the two years of lost development time. To helps others make a decision for their project, he also includes seven reasons why he made the decision to switch back, including:   Our entire company's stuff was in php: don't underestimate integration Don't want what i donÃ¢ÂÂt need I love SQL Programming languages are like girlfriends: the new one is better because *you* are better   There's also been several bloggers in the PHP community that have responded to the article:   Elizabeth Naramore - "Derek Sivers' Article on RoR vs PHP" Paul Jones - "Is there anything Rails can do that PHP cannot do? *No.*" Terry Chay - "Why PHP triumphs over Ruby" Jeff Moore - "Ruby versus PHP or There and Back Again"
425581
The Hiveminds Magazine has pointed out a new effort that's been kicked off today to try to get the PHP community (and providers) to finally make the leap and drop PHP4 support all together:   The idea is to make a unified, concentrated effort to drop PHP4 support and drive PHP5 adoption in the year 2008. Think of it. All CMS, forum and framework projects going completely over to PHP5 on a set date! This would be like a bomb dropping on the web hosting world and cause ripples throughout the open source world.   They point out some of the projects that are leaning either way from ezPublish hanging on to PHP4 and apps like Drupal that have embraced PHP5. In fact, it's the Drupal group that's written up the proposal on how it would all go down - the "Go PHP5 Effort".   It is a dangerous cycle, and one that needs to be broken. The open source PHP developer community has decided that it is indeed now time to move forward, together. Therefore, the listed open source PHP projects have all agreed that effective 5 February 2008, any new feature release will have a minimum  required PHP version no older than PHP 5.2.0.   There's tons of comments to the proposal in both parties (and some in between noting that there are already several PHP4 applications that run quite happily on PHP5).
726766
DevShed has posted the third part of their series looking at accessing the Yahoo! web services via PHP5 scripts. This time it's a focus on using the image search capabilities.   In this third chapter of the series, I'm going to continue exploring in detail other helpful web services offered by Yahoo!, such as those focusing on searching images and videos. Also, I will demonstrate how they can be queried directly from a basic PHP 5 application and process the corresponding search results by utilizing the same group of array handling functions that you saw in the previous article of the series.   Just like in previous articles of the series, they make a simple class that connect to the Yahoo! web services and request search details back about their queries (like "Madonna").
236292
In his latest post, Davey Shafik talks about a web service client that he's been working up for the Zend Framework, specifically dealing with the consuming and creation of REST services.    I am currently working on a ton of Web Services related things for the Zend Framework, one of my favorite, is the almost complete, Zend_Rest_Client. This is a replacement for Zend_Rest (as we're adding a server also).   Whilst it is almost impossible to emulate the PHP 5 SOAP extension, it is still possible to get a nice interface.    He gives some examples of its usage:   creating a client with three lines of code showing off the "fluent API" of the component to make a REST request and a call normally, seperating the methods out into seperate lines  He also mentions that there's still a bit of work to be done, including returning the Zend_Rest_Server array responses back into normal PHP arrays.