archive-com.com » COM » B » BENRAMSEY.COM

Total: 425

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • HTTP Status: 206 Partial Content and Range Requests, by Ben Ramsey
    to retrieve only those bytes This is the first important key component 1 If you are building a service that accepts byte range requests let clients know by providing the Accept Ranges header in response to GET and HEAD requests So now I know I can make a range request to the service which I do by sending a standard GET request including a Range header that specifies the range of bytes I m requesting like so Range bytes 0 999 The service should then respond with with a 206 Partial Content status code a Content Range header and the requested range of bytes This is the second key component 2 If a client makes a request of your service with a Range header return a 206 Partial Content response containing a Content Range header and the requested range of bytes for the resource in the body The Content Length value should be the length of what is actually returned and not the full length of the resource From then on it s a matter of the client continuing to make requests until it has retrieved all of the bytes it wishes to get from the resource If the client makes a range request that is out of bounds that is none of the range values overlap the extent of the resource the service should respond with a 416 Requested Range Not Satisfiable status I should note that the service cannot force the client to make a range request It is entirely up to the client to make such requests so the service should honor all standard GET requests that do not contain a Range header by sending back the full representation of the requested resource If your service allows range requests it is to your benefit to tell the

    Original URL path: https://benramsey.com/blog/2008/05/206-partial-content-and-range-requests/ (2016-04-26)
    Open archived version from archive


  • Umbrello UML Modeler, by Ben Ramsey
    kde The KDE installation can take quite a while depending on your system On my PowerBook G4 it took well over 7 hours My Intel iMac was considerably shorter but still took a couple of hours Once KDE is installed you should have all the necessary libraries to build Umbrello Download the Umbrello source and get to work wget http prdownloads sourceforge net uml umbrello 1 5 8 tar bz2 download tar jxf umbrello 1 5 8 tar bz2 cd umbrello 1 5 8 configure prefix opt local with qt includes opt local include qt3 with qt libraries opt local lib qt3 with extra libs opt local lib with extra includes opt local include without arts make sudo make install Umbrello is now ready to run To run it just open X11 app and enter the command opt local bin umbrello That s all there is to it Umbrello seems to be just the tool I needed It appears to be a much more intuitive and easier to use UML modeling program than any others I have tried and it will generate PHP 5 code It doesn t generate everything quite as well as I had hoped but it gets

    Original URL path: https://benramsey.com/blog/2008/04/umbrello-uml-modeler/ (2016-04-26)
    Open archived version from archive

  • Stefan Esser: A Most Influential Person in IT, by Ben Ramsey
    the headline Top 100 Most Influential People in IT This list is put together each year by the editorial staffs of eWEEK CIO Insight and Baseline Naturally I had to open it to see if any members of the PHP community made the list The obvious names I was thinking were Rasmus Lerdorf Andi Gutmans and Zeev Suraski the people who brought us the world s most popular scripting language and who helped bring it to where it is today Naturally the usual suspects top the list Larry Ellison comes in at 1 Steve Jobs at 2 and Steve Ballmer at 3 Larry Page and Sergey Brin oddly enough lag behind and both appear at 10 on the list Scanning the list it s interesting to note that Linux Torvalds appears at 15 Tim Berners Lee at 35 Jimmy Wales at 57 and Dave Winer at 96 with clearly the wrong picture However what I didn t expect to see was who came in at 60 on the list the PHP community s advocate for fixing security vulnerabilities in the PHP core Stefan Esser Here s what eWeek had to say about Stefan Esser s Month of PHP Bugs project

    Original URL path: https://benramsey.com/blog/2008/04/stefan-esser-a-most-influential-person-in-it/ (2016-04-26)
    Open archived version from archive

  • PHP TestFest 2008 and Atlanta PHP, by Ben Ramsey
    together virtually The point however is that people network to learn together Aside from being an opportunity for all of you to make friends with like minded people in your virtual community it also will hopefully reduce the work load for the PHP net mentors All it takes is someone to organize a UG to spearhead the event and to get others involved in writing phpt tests The submissions will then be reviewed by members of php net before getting included in the official test suite Please visit the TestFest homepage to get additional details on the TestFest on how to get involved either as a UG or by setting up the necessary infrastructure Atlanta PHP will be taking part in TestFest 2008 As a preview for our May 1st meeting we will have a workshop format catering to two different groups of developers For beginning PHP developers we will help you get started developing PHP applications by helping to set up your environment and teaching a few of the basics For intermediate to advanced developers we will discuss how you can assist the PHP development community by writing phpt tests More details to come in the future Tell your

    Original URL path: https://benramsey.com/blog/2008/03/php-testfest-2008-and-atlanta-php/ (2016-04-26)
    Open archived version from archive

  • Making Money With PHP and Google's Summer of Code, by Ben Ramsey
    to Elizabeth Smith and 2 because I d really like to see some interesting projects go to benefit the PHP community In the past the Google SoC has had some interesting PHP projects 2006 2007 and this year is no different with a slew of potential projects some of which I find very interesting For the math aficionados there s an idea for algorithmic optimizations in the language For Unicode lovers there s the suggestion to continue the work to update every function in php src giving full native Unicode support to PHP 6 For those who like working with XML there s work to be done on PhD the PHP based DocBook renderer OOP buffs will enjoy building support for anonymous functions delegates return type hinting and property type hinting into the language The list goes on And if none of these interest you you re welcome to submit your own project idea If you want an idea from me that s not listed on the wiki perhaps you d be interested in doing some C development to implement PHP on Microsoft s DLR more info on the DLR So there s money to be made and cool projects

    Original URL path: https://benramsey.com/blog/2008/03/making-money-with-php-and-googles-summer-of-code/ (2016-04-26)
    Open archived version from archive

  • PHP Appalachia 2008, by Ben Ramsey
    but a lot of the time will be flexible and spent how the group sees fit at the time Details are still being finalized Keep watching Elizabeth s blog for more information and I m sure someone will update http www phpappalachia org in the near future UPDATE Keith Casey also blogged about it I was out of town for several days so I missed lots D By Ben Ramsey

    Original URL path: https://benramsey.com/blog/2008/02/php-appalachia-2008/ (2016-04-26)
    Open archived version from archive

  • Supporting PUT & DELETE in the Zend Framework, by Ben Ramsey
    discussion about using routes and Zend Rest Server to create a resource oriented architecture Rather than get too in depth about this issue I ll just point to this thread and save my full thoughts on Zend Rest Server for another day Suffice it to say Zend Rest Server is not focused on resources but instead what you can do with those resources procedures methods verbs and also assumes you re only ever going to provide an XML based read only REST service With REST this is not the case and with the publication of the Atom Publishing Protocol a protocol that follows the REST architectural style as RFC 5023 now is the time more than ever to grasp the read write capabilities of the RESTful Web But I digress again I ve recently been wrapped up in an effort to design and implement a RESTful API using the Atom Protocol for a project at work We are using the Zend Framework as the underlying framework for the project so in order to follow the Atom Protocol I needed to support the HTTP methods PUT and DELETE Apache can handle GET and POST easily because the request itself tells Apache the resource to use when processing the request With PUT or DELETE the resource identified by the request may not even exist so Apache needs you to specify a script to process the request To do this I added the following lines to my virtual host configuration PUT and DELETE support Script PUT index php Script DELETE index php Now all PUT and DELETE requests are handled by the Zend Framework bootstrap script and the dispatcher handles them in the same way it handles GET and POST requests To further support other HTTP methods and the REST architectural style I

    Original URL path: https://benramsey.com/blog/2008/02/supporting-put-delete-in-the-zend-framework/ (2016-04-26)
    Open archived version from archive

  • Happy 10th Birthday, XML!, by Ben Ramsey
    come full circle to a renewed appreciation for the syntax In these days when people are singing the praises of JSON and other data interchange formats I still think XML is the best format for exchanging data between disparate systems This year marks the tenth anniversary or birthday if you will of the Extensible Markup Language Version 1 0 of the W3C recommendation was published on February 10 1998 In a press release covering this occasion Tim Bray said There is essentially no computer in the world desk top hand held or back room that doesn t process XML sometimes This is a good thing because it shows that information can be packaged and transmitted and used in a way that s independent of the kinds of computer and software that are involved XML won t be the last neutral information wrapping system but as the first it s done very well According to the press release there will be a variety of activities and events planned throughout the year to recognize and thank the dedicated communities and individuals responsible for XML for their contributions Since this is also the tenth anniversary of open source and the tenth anniversary of

    Original URL path: https://benramsey.com/blog/2008/02/happy-10th-birthday-xml/ (2016-04-26)
    Open archived version from archive



  •