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".
  • Namespace for URI Templates?, by Ben Ramsey
    content idx 41 It s obvious that to traverse the Feed the Client need only change the idx parameter So why not tell the Client that they can do this with a URI Template To do this I could use a template element but in what namespace That s where my problem comes in I ve searched all over the W3C URI mailing list in addition to the Atom lists and all the usual suspects but I haven t seen where anyone has made a formal a recommendation I did stumble across a post by James Snell in which he proposed an approach to create a namespace to describe URI template variable names but the post is stale October 2006 and the approach doesn t address the template itself So without a good lead to go on and a strong desire not to create my own namespace I sent an e mail to Mark Nottingham asking if he would be interested in considering an update of the fh namespace to include a template element for this purpose For example fh template http example org content prefix idx index fh template But then I found recent post by Joe Gregorio that doesn t specifically address this but does include in one of his examples the following snippet defining a t namespace for the link template element xml version 1 0 entry xmlns http www w3 org 2005 Atom xmlns t http blah t link template rel sub href http example org edit first post listjoin id I don t know how I feel about having a general purpose template element in a separate namespace rather than having various namespaces define their own template elements In the fh template example the template is within the feed history namespace which gives it meaning

    Original URL path: https://benramsey.com/blog/2008/02/namespace-for-uri-templates/ (2016-04-26)
    Open archived version from archive


  • Error Response Body For Atom, by Ben Ramsey
    the server decide the error code and formatting to return it in For example when you get a 404 on a web site you often get an HTML page or a text plain document Not my favorite option Mandate a text plain result that describes the problem The third option is to define an XML format for describing errors e g error title title description description error A few days later August 8th Joe asked the question How should errors be handled Sam Ruby replied Why reinvent http www w3 org TR SOAP Toc478383507 I am often rightfully accused of being too obtuse So let me be explicit in what I am suggesting here Design a pure REST API Where there seems to be places where some invention is required see if one can reuse precisely those elements and only those elements from SOAP What you will end up with is a fully REST compliant interface which will enjoy wide tooling support My first reaction was Well why the hell would I want to use SOAP I m trying to be RESTful here However I don t think what Sam meant was to follow SOAP verbatim but to rather borrow from SOAP in much the same way that the Atom community borrowed the WSSE username token from the OASIS Web Services Security committee and adapted it from a specification for SOAP services to a more RESTful application by passing the data through HTTP headers Essentially the implication was to adapt a SOAP Fault to work in a RESTful way Diverging from the Atom format and adapting a SOAP format to fit my needs didn t sit well with me unfortunately Rather as I thought more and more about it I realized that the Atom format itself suited my needs just

    Original URL path: https://benramsey.com/blog/2008/02/error-response-body-for-atom/ (2016-04-26)
    Open archived version from archive

  • Congrats Costa Rica PHP!, by Ben Ramsey
    colleagues from Schematic Pablo Viquez and Karolina Hidalgo It sounds like they have a very active and vibrant PHP developer community in Costa Rica and they ve found two very supportive universities that have offered to host their meetings and events I wish that every PHP user group could find sponsors willing to provide computer labs and even bring in outside speakers Pablo writes the following about their first meeting I m very pleased to announce that we had a great response from the PHP developers here in Costa Rica We held our first meeting in the University of Costa Rica UCR with a total of 37 developers of different backgrounds and skills At the end of the meeting everyone was very excited and happy with the initiative of the Costa Rica group and willing to contribute We ve received support from two universities who want to host our monthly meetings they offered the opportunity to not just do monthly meetings but use their labs to have workshops and even offered the support to bring speakers from other countries Congratulations Costa Rica PHP on a successful first meeting and here s to many more successful meetings Check out the Costa

    Original URL path: https://benramsey.com/blog/2008/01/congrats-costa-rica-php/ (2016-04-26)
    Open archived version from archive

  • My Downtime, by Ben Ramsey
    rather grumpy after an hour and a half of driving I wished he was already in bed leaving me to enjoy my dinner and quiet time to myself But nevertheless I left my wife to her dinner and I got him ready for bed and then sat down with him to read as is our custom before bedtime That s when the magic began And I m writing about it now so that I myself do not forget it I realized as I read to him that for that brief moment in time everything for me seems to stand still and nothing in the world matters except him Work is gone All projects I m involved in dissolve No one else is more important to me in that moment than him He grins and laughs and chatters his baby talk all through that time because he loves his daddy and it s the rare time that he gets to see me during the day Unfortunately the time is all too short and while I resented it at first because I wanted to be selfish and have me time it s a breath of fresh air and better for my sanity

    Original URL path: https://benramsey.com/blog/2008/01/my-downtime/ (2016-04-26)
    Open archived version from archive

  • Goals for 2008, by Ben Ramsey
    week but I don t think I can commit to that so I m going to try for one post a week This isn t something that I have to do but something I want to do especially since I do have a lot of topics always running through my head to blog about I just need to put forth the effort and make the time to write Write one new article per month Now I m beginning to sound like I m copying Cal s post entirely but it s true This is a goal that I ve been mulling over for some time now Be a active contributor to the PHP project This year I would like to step up my contributions to the PHP project by contributing more to the documentation working on several PECL extensions and submitting some patches to the PHP core Jumpstart a variety of PHP community projects There are a handful of PHP community projects in which I am involved that are somewhat stagnant I want to do my part to get them rolling active and healthy again Learn a new language I have my sights set on German By the end of this year I d love to be able to carry a simple conversation in German Be more organized I used to carry around a Moleskine notebook Actually I still do but I rarely write in it and I find it a difficult instrument to organize my notes and ideas Instead I ve created a personal wiki in which I ve begun logging thoughts notes TODOs scrap writings research etc I want to expound on this and continue to record my observations and use the wiki to help organize my life Kill my TODO list I have a TODO list a

    Original URL path: https://benramsey.com/blog/2008/01/goals-for-2008/ (2016-04-26)
    Open archived version from archive

  • PHP Advent Calendar, by Ben Ramsey
    entry about just that offering suggestions for how one can get help from the community get connected to the community and get involved in the community by giving back Credit for the idea goes to Brian DeShong who recommended I write it Thanks Brian I hope you ll find a way to get connected and involved in in what is my opinion the greatest community of any programming language Happy

    Original URL path: https://benramsey.com/blog/2007/12/php-advent-calendar/ (2016-04-26)
    Open archived version from archive

  • Funcaday.com Dashboard Widget, by Ben Ramsey
    of meds I decided to do something I haven t had the luxury of doing for a while catch up on blog posts While reading through news and blog entries I came across a post on Zend s Developer Zone about Paul Reinheimer s new PHP Function a Day website The Function a Day site functions in much the same way as those nifty tear off a page per day desktop calendars we all buy for those on our Christmas shopping lists for whom we can t quite figure out what to get The calendars are hit or miss The Far Side is always a popular favorite Inspirational Stories of Left Handed Leaders not so much Paul s Function a Day however is a hit with but one problem I have to visit the site everyday to see the newest calendar entry Ick If I know me and I hope I know me then I know I ll forget to visit the site Thus in my sicken and medicated stupor I decided to do the only logical thing one would do while taking a sick day write some code Thus was born the PHP Function a Day Dashboard Widget for

    Original URL path: https://benramsey.com/blog/2007/12/funcadaycom-dashboard-widget/ (2016-04-26)
    Open archived version from archive

  • Microsoft Web Development Summit 2007, by Ben Ramsey
    in an effort to reach out to the PHP community to solicit opinions and feedback on various technologies including IIS Silverlight their Ajax library Expression Web etc I ll be taking time to condense my thoughts and reactions into a single blog post later this week after I ve returned home and rested but for now you can follow along as I take notes on my personal notes wiki I

    Original URL path: https://benramsey.com/blog/2007/10/microsoft-web-development-summit-2007/ (2016-04-26)
    Open archived version from archive



  •