archive-com.com » COM » S » STUARTHERBERT.COM

Total: 477

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

Or switch to "Titles and links view".
  • Stuart on PHP - » 2007 » February
    regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan 2 comments Going to PHP London Conference Posted by Stuart Herbert on February 16th 2007 in Conferences PHP In Business I ll be making the bleary eyed trek over from Cardiff on Friday morning I m more liking to be heading off to bed at 5am than getting out of one to the PHP Conference in London If you re going to the conference too and you d like to meet up afterwards or over lunch to talk about the Why PHP effort please head on over to the group and let us know About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan Be the first to leave a comment What Does The Business Case For PHP Need To Cover Posted by Stuart Herbert on February 8th 2007 in PHP In Business In my last post I asked whether there was any interest in there being a resource that makes the business case for PHP Many thanks to everyone who replied especially David Goulden at Zend To turn this from an idea into reality I ve setup a Google group where anyone who is interested can join in and help build this resource Please come along with your ideas and concerns and let s see what we can achieve together I don t know what other folks think but I think the first step is to draw up a list of topics that the business case needs to cover Run into a question from a customer that stops you selling your PHP solution Let us know About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan 3 comments Latest Photos Categories phpnw 1 Beginner 2 Intermediate 3 Advanced Brighton PHP Conferences Opinion phix PHP In Business PSR Servers and Hosting Storyplayer Talks Toolbox Training Uncategorized Archives February 2016 January 2016 November 2015 October 2015 August

    Original URL path: http://blog.stuartherbert.com/php/2007/02/ (2016-05-02)
    Open archived version from archive


  • Stuart on PHP - » 2007 » January
    Getting at the individual articles starts off just as easy code lang php foreach xml channel item as item article array article title item title article link item link code but if you re relying on the very thin SimpleXML documentation on php net like me you ll soon run into two problems Some of the elements in an item sit inside different XML namespaces The only way to get at them is to use the children method on a SimpleXMLElement code lang php dc item children http purl org dc elements 1 1 article creator dc creator foreach dc subject as subject article subject dc subject code That s a bit of a mouthful It s a bit of a shame that I can t do this code lang php The following does NOT work article creator article dc creator code or some variation on that but the design of XML namespaces makes that impractical The XML namespace is actually the URI the dc prefix in a tag like dc creator is shorthand defined in the opening tag at the top of the XML document Although it would look a bit odd there s nothing at all to stop someone defining the dc component as dublinCore instead if they wanted to Having to pass the full URI for a namespace into children is not my idea of fun It d be much better if we could pass in a shorter string instead The only way to safely do this is to define an array of shortcuts yourself code lang php define the namespaces that we are interested in ns array content http purl org rss 1 0 modules content wfw http wellformedweb org CommentAPI dc http purl org dc elements 1 1 now we can get dublin core content with a lot less typing we also only have to update the code in one place if the namespace URI changes dc item children ns dc article creator dc creator code You can get a list of the namespaces like this code lang php ns xml getNamespaces true dc item children ns dc code but that only works if the XML document defines the prefix dc for the namespace http purl org dc elements 1 1 You ll have to decide for yourself whether it s a risk worth taking or not That s namespaces tamed but we re not quite home yet The actual content part of the article sits inside a CDATA section inside a content namespace and how to deal with CDATA is conspicuous by its absence in the SimpleXML docs probably because older versions of SimpleXML simply threw CDATA sections away without asking you If you have a look at the source code for SimpleXML test 004 shows how basic CDATA access works code lang php content item children ns content article content string trim content encoded code With that the final code to read a RSS 2 feed looks like this code lang php define

    Original URL path: http://blog.stuartherbert.com/php/2007/01/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » Free Ebook: Getting Hired
    during an industrial placement year or when you graduate and leave academia Ours is a multi disciplined industry where things change rapidly so to help you prepare I ve finished off the book with some lists of the fundamental skills that industry expects you to have before you start your first job Getting Hired is a free ebook released under a Creative Commons licence I hope you find it useful About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan 2 Comments Raymond says November 13th 2012 at 10 29 am But where is the eBook Stuart Herbert says December 3rd 2012 at 6 35 pm raymond the link to the ebook is at the bottom of the blog post Latest Photos Categories phpnw 1 Beginner 2 Intermediate 3 Advanced Brighton PHP Conferences Opinion phix PHP In Business PSR Servers and Hosting Storyplayer Talks Toolbox Training Uncategorized Archives February 2016 January 2016 November 2015 October 2015 August 2015 March 2015 January 2014 May 2013 April 2013 March 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 February 2012 January 2012 October 2011 September 2011 August 2011 July 2011 April 2011 March 2011 February 2011 October 2010 August 2010 July 2010 February 2010 January 2010 October 2009 September 2009 August 2009 May 2009 April 2009 March 2009

    Original URL path: http://blog.stuartherbert.com/php/2012/11/12/free-ebook-getting-hired/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 10 Reasons Why I’ve Switched From Netbeans To Sublime Text 2 For PHP Development
    February 20th 2012 at 10 16 am So you are switching from NetBean for something buggy not free and that is not offering what you are looking for I didn t really get it I ve used Neteans Zend Studio and Eclipse but nothing is better than PHPStorm It s just the best Never crashed Auto complete is working like a charm Not that heavy for a JAVA based application Stuart Herbert says February 20th 2012 at 3 54 pm Maxime no I switched from Netbeans to something that s incredibly quick which PHPStorm isn t and which renders fonts properly again which PHPStorm doesn t and very extensible That is what I was looking for Pierre says February 20th 2012 at 10 57 am PHPStorm for the win Cross platform debugger cli or web local or remote static analyzer etc etc Stuart Herbert says February 20th 2012 at 3 48 pm pierre it s very powerful but still renders fonts like it s 1994 Pierre says February 20th 2012 at 10 57 am PHPStorm for the win Cross platform debugger cli or web local or remote static analyzer etc etc Stuart Herbert says February 20th 2012 at 3 48 pm pierre it s very powerful but still renders fonts like it s 1994 Harald Ponce de Leon says February 20th 2012 at 11 16 am The SublimeLinter plugin is great for detecting syntax errors https github com Kronuz SublimeLinter Stuart Herbert says February 20th 2012 at 3 49 pm Harald yes I use that one myself but I know several people who have found it slow on their systems Harald Ponce de Leon says February 20th 2012 at 11 16 am The SublimeLinter plugin is great for detecting syntax errors https github com Kronuz SublimeLinter Stuart Herbert says February 20th 2012 at 3 49 pm Harald yes I use that one myself but I know several people who have found it slow on their systems Michał Ty says February 20th 2012 at 12 01 pm I can only speak about the PHP version of Netbeans but it s not slow if you get the right hardware Buying a very fast computer should be the obvious thing to do for a developer It s not that expensive either much much cheaper than say a used car And the fonts look great I m using Consolas and it looks exactly the same as everywhere else on my system I think you re doing something wrong I do however envy the fuzzy searching Stuart Herbert says February 20th 2012 at 3 51 pm Michal I didn t think that Netbeans was slow until I ditched it for ST2 Even on a decent Core i7 w 8GB of RAM and a decent SSD Netbeans is left for dead by ST2 s speed Michał Ty says February 20th 2012 at 12 01 pm I can only speak about the PHP version of Netbeans but it s not slow if you get the right hardware Buying a very fast computer should be the obvious thing to do for a developer It s not that expensive either much much cheaper than say a used car And the fonts look great I m using Consolas and it looks exactly the same as everywhere else on my system I think you re doing something wrong I do however envy the fuzzy searching Stuart Herbert says February 20th 2012 at 3 51 pm Michal I didn t think that Netbeans was slow until I ditched it for ST2 Even on a decent Core i7 w 8GB of RAM and a decent SSD Netbeans is left for dead by ST2 s speed Nike Shoes says February 20th 2012 at 12 38 pm 1 Dear Java the 1990 s called and asked for their crappy non aliased font renderer back I think Windows 3 11 is missing it terribly Nike Shoes says February 20th 2012 at 12 38 pm 1 Dear Java the 1990 s called and asked for their crappy non aliased font renderer back I think Windows 3 11 is missing it terribly Timothy Warren says February 20th 2012 at 2 02 pm I miss the object viewer or whatever that s called in Netbeans but that s about it If there was a plugin for that I d be all set Stuart Herbert says February 20th 2012 at 3 52 pm Timothy you can get close You can hit CTRL R to browse the symbols in the current tab and if you install the Goto Symbol plugin you can hit CTRL SHIFT R to browse all symbols in all open tabs I find this works well for me as there s more space on screen for code Timothy Warren says February 20th 2012 at 2 02 pm I miss the object viewer or whatever that s called in Netbeans but that s about it If there was a plugin for that I d be all set Stuart Herbert says February 20th 2012 at 3 52 pm Timothy you can get close You can hit CTRL R to browse the symbols in the current tab and if you install the Goto Symbol plugin you can hit CTRL SHIFT R to browse all symbols in all open tabs I find this works well for me as there s more space on screen for code JonoB says February 20th 2012 at 3 48 pm No debugging capability unfortunately makes it close to useless for me Stuart Herbert says February 20th 2012 at 3 53 pm JonoB yeah that s one thing that does need adding JonoB says February 20th 2012 at 3 48 pm No debugging capability unfortunately makes it close to useless for me Stuart Herbert says February 20th 2012 at 3 53 pm JonoB yeah that s one thing that does need adding JiN says February 20th 2012 at 4 59 pm Can t give up all the features that NetBeans provides The one I use for every new project is the Code Generator for PHP Classes Also I have heavily customized the keys as well JiN says February 20th 2012 at 4 59 pm Can t give up all the features that NetBeans provides The one I use for every new project is the Code Generator for PHP Classes Also I have heavily customized the keys as well Liviu says February 21st 2012 at 7 16 am ST2 is great but I still open netbeans for that diff feature Liviu says February 21st 2012 at 7 16 am ST2 is great but I still open netbeans for that diff feature Sky says February 24th 2012 at 9 33 am Hello I tried this for 2 days cant stand it anymore Im going back to netbeans I had bug after bug with Windows 7 I must say that all the Features Netbeans has is going to keep me for a long time still And its free and is free Sky says February 24th 2012 at 9 33 am Hello I tried this for 2 days cant stand it anymore Im going back to netbeans I had bug after bug with Windows 7 I must say that all the Features Netbeans has is going to keep me for a long time still And its free and is free La veille du week end vingt cinquième LoïcG says February 24th 2012 at 12 11 pm 10 bonnes raisons de passer de Netbeans à SublimeText2 fdw ide netbeans sublimetext2 via LaFermeDuWeb La veille du week end vingt cinquième LoïcG says February 24th 2012 at 12 11 pm 10 bonnes raisons de passer de Netbeans à SublimeText2 fdw ide netbeans sublimetext2 via LaFermeDuWeb mandev says February 29th 2012 at 10 45 pm I tried ST2 It crashed 3 times in a week Back to netbeans Will try again next year END mandev says February 29th 2012 at 10 45 pm I tried ST2 It crashed 3 times in a week Back to netbeans Will try again next year END Review 2 PHP tools rise above the rest freecsswebsitetemplates com says March 21st 2012 at 8 22 pm Herbert a PHP developer switched to Sublime Text a some more elementary content editor and wrote about a change extolling a simplicity In essence he didn t need all of a additional facilities from an Review 2 PHP tools rise above the rest freecsswebsitetemplates com says March 21st 2012 at 8 22 pm Herbert a PHP developer switched to Sublime Text a some more elementary content editor and wrote about a change extolling a simplicity In essence he didn t need all of a additional facilities from an Peter222 says March 31st 2012 at 3 02 pm Netbeans is slow Nowadays when 4GB RAM and dual core is standard I tried ST2 it is very promising but code completion is abysmally So I stay with Netbeans to bigger projects and gedit mate for quick editing Peter222 says March 31st 2012 at 3 02 pm Netbeans is slow Nowadays when 4GB RAM and dual core is standard I tried ST2 it is very promising but code completion is abysmally So I stay with Netbeans to bigger projects and gedit mate for quick editing Luke Sturgess says April 4th 2012 at 4 41 pm Hi Stuart Have you tried getting this Xdebug plugin to work https github com Kindari SublimeXdebug Luke Sturgess says April 4th 2012 at 4 41 pm Hi Stuart Have you tried getting this Xdebug plugin to work https github com Kindari SublimeXdebug Nique says April 21st 2012 at 4 01 pm Mandev Netbeans crashes all the time here It was a good IDE now it is really F up Nique says April 21st 2012 at 4 01 pm Mandev Netbeans crashes all the time here It was a good IDE now it is really F up Bradley says June 12th 2012 at 3 50 am 7 Now if only everyone just did the right thing in the first place and used spaces instead of tab characters we wouldn t need functionality like this Oh please Let s embed so much useless whitespace for INDENTATION that you have to wait for your cursor to move over eight bloody characters JUST to get to the beginning of your indentation Tabsize 8 please Bradley says June 12th 2012 at 3 50 am 7 Now if only everyone just did the right thing in the first place and used spaces instead of tab characters we wouldn t need functionality like this Oh please Let s embed so much useless whitespace for INDENTATION that you have to wait for your cursor to move over eight bloody characters JUST to get to the beginning of your indentation Tabsize 8 please Kirby says June 22nd 2012 at 9 03 pm No debugger Jeez this is 2012 after all I ll stick with NetBeans The heck with echo print dump etc And I really don t think NetBeans is that slow I ve seen people with faster environments but they just don t utilize it correctly When I m waiting for a page change I think about what I need to do next The guys with fast stuff don t even think about what they are doing half the time Kirby says June 22nd 2012 at 9 03 pm No debugger Jeez this is 2012 after all I ll stick with NetBeans The heck with echo print dump etc And I really don t think NetBeans is that slow I ve seen people with faster environments but they just don t utilize it correctly When I m waiting for a page change I think about what I need to do next The guys with fast stuff don t even think about what they are doing half the time Joe says July 18th 2012 at 3 03 pm NetBeans is slow I m on a 6 core AMD 3 2 Ghz with 8GB Ram running Windows 7 and occasionally like once a day I feel like I ve been transported back in time and am working on my original computer a Pentium S 100 MHZ with half a gig of Ram running Windows 98 Having to wait for typing is annoying and indicates that NetBeans while great really needs optimization Sometimes the solution to the above is to close projects not in use but a few of my projects are massive having hundreds of files and thus even closing unused projects doesn t help disable the time machine functionality Also NetBeans needs to really adopt a more modular approach having it trying to force connections to databases is asinine and something that really needs an On Off Switch Joe says July 18th 2012 at 3 03 pm NetBeans is slow I m on a 6 core AMD 3 2 Ghz with 8GB Ram running Windows 7 and occasionally like once a day I feel like I ve been transported back in time and am working on my original computer a Pentium S 100 MHZ with half a gig of Ram running Windows 98 Having to wait for typing is annoying and indicates that NetBeans while great really needs optimization Sometimes the solution to the above is to close projects not in use but a few of my projects are massive having hundreds of files and thus even closing unused projects doesn t help disable the time machine functionality Also NetBeans needs to really adopt a more modular approach having it trying to force connections to databases is asinine and something that really needs an On Off Switch Jacob says July 18th 2012 at 3 28 pm Sublime has support for xDebug I don t know when it was added but recently I would assume Jacob says July 18th 2012 at 3 28 pm Sublime has support for xDebug I don t know when it was added but recently I would assume Sebastiaan says July 19th 2012 at 8 22 am I just found a sublime snippet on Github that makes autocomplete take the entire project into account instead of only the active file ctags tags file required there s also an ctags plugin available through the package manager https gist github com 3141501 Sebastiaan says July 19th 2012 at 8 22 am I just found a sublime snippet on Github that makes autocomplete take the entire project into account instead of only the active file ctags tags file required there s also an ctags plugin available through the package manager https gist github com 3141501 Sebastiaan says July 19th 2012 at 8 24 am Oops I linked to my fork here s the original gist https gist github com 1825401 Sebastiaan says July 19th 2012 at 8 24 am Oops I linked to my fork here s the original gist https gist github com 1825401 Feyzi says August 3rd 2012 at 7 52 pm The fastest and most incredible code editor I tried Eclipse Aptana Komodo Edit IDE JEdit NotePad etc and finally i am stopping to search another one I found it Sublime Text 2 Sorry for my English Feyzi says August 3rd 2012 at 7 52 pm The fastest and most incredible code editor I tried Eclipse Aptana Komodo Edit IDE JEdit NotePad etc and finally i am stopping to search another one I found it Sublime Text 2 Sorry for my English Setting Up Sublime Text 2 For PHP Development Blog Leon Qiu says August 28th 2012 at 12 52 pm Wow Last week s opinion piece about switching from Netbeans to Sublime Text 2 has been the most popular blog post I ve written for quite a while Setting Up Sublime Text 2 For PHP Development Blog Leon Qiu says August 28th 2012 at 12 52 pm Wow Last week s opinion piece about switching from Netbeans to Sublime Text 2 has been the most popular blog post I ve written for quite a while Andrej Pintar says September 5th 2012 at 9 48 pm Hi Been struggling a long time to choose tool that is fast and not eating resources Yup found it now I tryed eclipse netbeans komodo aptana kdevelop phpstorm and they just don t cut it on a low end machine like Celeron 1 3 with 512mb ram I don t use windows because I just don t feel at home I am using Ubuntu as a main pc with much ram but netbeans eats it So its goodbye JAVA PHP IDE After looking youtube about Sublime Text and VIM still need to learn VIM noob D it looks like when it comes to ease of use Sublime Works great No diff in 32 or 64 noticed by me And it uses a small memory footprint Also found my CodeIgniter snippets on GitHub And I am ready to rock and roll GUI is great Fonts and left side code map its just marvelous Hope the guy doesn t die It would be developer tragedy I vote Sublime and VIM Hope to see more documentation and best practices using Sublime as well new features Thanks for the review on YT Andrej Pintar says September 5th 2012 at 9 48 pm Hi Been struggling a long time to choose tool that is fast and not eating resources Yup found it now I tryed eclipse netbeans komodo aptana kdevelop phpstorm and they just don t cut it on a low end machine like Celeron 1 3 with 512mb ram I don t use windows because I just don t feel at home I am using Ubuntu as a main pc with much ram but netbeans eats it So its goodbye JAVA PHP IDE After looking youtube about Sublime Text and VIM still need to learn VIM noob D it looks like when it comes to ease of use Sublime Works great No diff in 32 or 64 noticed by me And it uses a small memory footprint Also found my CodeIgniter snippets on GitHub And I am ready

    Original URL path: http://blog.stuartherbert.com/php/2012/02/20/why-ive-switched-from-netbeans-to-sublime-text-2-for-php-development/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » Setting Up Sublime Text 2 For PHP Development
    Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan 111 Comments silverspacer says February 28th 2012 at 10 18 am Thumbs up for this post Nice work Radosław Mejer says February 28th 2012 at 12 33 pm Thanks I ve tried to switch to ST2 from Netbeans but some lack of plugins made me go back No I can try once again Radosław Mejer says February 28th 2012 at 12 33 pm Thanks I ve tried to switch to ST2 from Netbeans but some lack of plugins made me go back No I can try once again anon says February 28th 2012 at 2 44 pm Handling Trailing Whitespace Using The TrailingSpaces Plugin Sublime Text can do this out of the box trim trailing white space on save true Stuart Herbert says February 28th 2012 at 4 10 pm anon yes but you need the plugin to be able to remove whitespace w out saving the file anon says February 28th 2012 at 2 44 pm Handling Trailing Whitespace Using The TrailingSpaces Plugin Sublime Text can do this out of the box trim trailing white space on save true Stuart Herbert says February 28th 2012 at 4 10 pm anon yes but you need the plugin to be able to remove whitespace w out saving the file Web Punk Switching from Zend Studio to Sublime Text 2 says February 28th 2012 at 5 34 pm I ve just read a very nice tutorial about how to start with Sublime Text 2 published by Stuart Web Punk Switching from Zend Studio to Sublime Text 2 says February 28th 2012 at 5 34 pm I ve just read a very nice tutorial about how to start with Sublime Text 2 published by Stuart silverspacer says February 28th 2012 at 5 57 pm stuart do you know when it is possible to debug xdebug with st2 this would be a great feature how do you debug your code actually silverspacer says February 28th 2012 at 5 57 pm stuart do you know when it is possible to debug xdebug with st2 this would be a great feature how do you debug your code actually Mark says February 28th 2012 at 6 16 pm Thanks Stuart made the switch last week am loving it so far Mark says February 28th 2012 at 6 16 pm Thanks Stuart made the switch last week am loving it so far Samuele says February 28th 2012 at 9 23 pm Some good svn integrated plugin for svn Samuele says February 28th 2012 at 9 23 pm Some good svn integrated plugin for svn Jaik Dean says February 29th 2012 at 9 10 am Another shortcut for go to line 123 is CTRL CMD P then type a colon followed by the line number eg 123 Jaik Dean says February 29th 2012 at 9 10 am Another shortcut for go to line 123 is CTRL CMD P then type a colon followed by the line number eg 123 Jeff says March 1st 2012 at 2 32 am Awesome post I m currently drive testing Sublime 2 for Ruby and PHP coding coming from Netbean PHP and gEdit Ruby I would look at your plugin suggestions Jeff says March 1st 2012 at 2 32 am Awesome post I m currently drive testing Sublime 2 for Ruby and PHP coding coming from Netbean PHP and gEdit Ruby I would look at your plugin suggestions jowe says March 1st 2012 at 10 35 am Thx for this good introduction jowe says March 1st 2012 at 10 35 am Thx for this good introduction Jonathan says March 1st 2012 at 2 35 pm really awesome post I ve been working with it for about 6 hours and I love sublime text 2 Thanks for all this info Jonathan says March 1st 2012 at 2 35 pm really awesome post I ve been working with it for about 6 hours and I love sublime text 2 Thanks for all this info Rafael says March 2nd 2012 at 3 54 pm Hi have you tried SublimeCodeIntel package https github com Kronuz SublimeCodeIntel CTags package has the same purpose of this one Thanks Stuart Herbert says March 5th 2012 at 10 54 am Rafael I have tried SublimeCodeIntel Unfortunately I ve found it too unreliable to recommend Rafael says March 2nd 2012 at 3 54 pm Hi have you tried SublimeCodeIntel package https github com Kronuz SublimeCodeIntel CTags package has the same purpose of this one Thanks Stuart Herbert says March 5th 2012 at 10 54 am Rafael I have tried SublimeCodeIntel Unfortunately I ve found it too unreliable to recommend Stephen says March 2nd 2012 at 10 10 pm I switched to ST2 because of your post and the last week has been a week of great coding with a great tool The only thing that I miss is the intellisense style hint windows Working with large OO applications it would be wonderful to have that functionality back but with the GoToAnywhere combined with the GoTo Declaration has almost made it a moot point Stephen says March 2nd 2012 at 10 10 pm I switched to ST2 because of your post and the last week has been a week of great coding with a great tool The only thing that I miss is the intellisense style hint windows Working with large OO applications it would be wonderful to have that functionality back but with the GoToAnywhere combined with the GoTo Declaration has almost made it a moot point pask says March 19th 2012 at 7 59 pm I ve installed SublimeLing but it seems it doesn t work I ve got a php code like this and the plugin should mark both lines as wrong but nothing happens Is it necessary to enable the plugin or something like that thank you pask says March 19th 2012 at 7 59 pm I ve installed SublimeLing but it seems it doesn t work I ve got a php code like this and the plugin should mark both lines as wrong but nothing happens Is it necessary to enable the plugin or something like that thank you Waldson Moura says March 23rd 2012 at 7 56 pm Hi how can I change the trailing whitespace foreground color Waldson Moura says March 23rd 2012 at 7 56 pm Hi how can I change the trailing whitespace foreground color Steve says April 16th 2012 at 12 29 pm Nice post So much great info The main problem with ST2 and PHP is the lack of xdebug support No debugger Depending on your platform you might be able to use a stand alone debugger I think osx has better support for this If only someone would write a plugin for xdebug ST2 would be complete for PHP dev Steve says April 16th 2012 at 12 29 pm Nice post So much great info The main problem with ST2 and PHP is the lack of xdebug support No debugger Depending on your platform you might be able to use a stand alone debugger I think osx has better support for this If only someone would write a plugin for xdebug ST2 would be complete for PHP dev percydalyn says April 17th 2012 at 9 59 am Thanks for giving such a nice video presentation its very usefull to us percydalyn says April 17th 2012 at 9 59 am Thanks for giving such a nice video presentation its very usefull to us Damon says April 24th 2012 at 6 11 pm Great article highlighting some features I wasn t aware of I ve been using SublimeText as a general editor for a while but only recently got back into PHP I am having trouble getting SublimeLinter to work on Windows7 though it says php cannot be found but I don t know how to go about getting it and telling it where it is I m developing on a local Apache server Any idea how to track that down I m having a similar issue with sublime linter for js and css despite having installed the windows node exe Stuart Herbert says May 9th 2012 at 7 38 pm Damon I don t use Sublime Text 2 on Windows but I suspect you will need to download PHP 5 4 from http windows php net install it into c php and make sure that c php is in your PATH Damon says April 24th 2012 at 6 11 pm Great article highlighting some features I wasn t aware of I ve been using SublimeText as a general editor for a while but only recently got back into PHP I am having trouble getting SublimeLinter to work on Windows7 though it says php cannot be found but I don t know how to go about getting it and telling it where it is I m developing on a local Apache server Any idea how to track that down I m having a similar issue with sublime linter for js and css despite having installed the windows node exe Stuart Herbert says May 9th 2012 at 7 38 pm Damon I don t use Sublime Text 2 on Windows but I suspect you will need to download PHP 5 4 from http windows php net install it into c php and make sure that c php is in your PATH Paulo Silva says May 16th 2012 at 2 43 am Damon If you use a local Apache server you have the php exe file inside Just look for pph exe in that directory and then go to Preferences Package Settings SublimeLinter Settings User and click to open the settings file and you must write this sublimelinter executable map php D xampp php php exe Don t forget to change the path to your php exe file path in your hard drive Paulo Silva says May 16th 2012 at 2 43 am Damon If you use a local Apache server you have the php exe file inside Just look for pph exe in that directory and then go to Preferences Package Settings SublimeLinter Settings User and click to open the settings file and you must write this sublimelinter executable map php D xampp php php exe Don t forget to change the path to your php exe file path in your hard drive Paulo Silva says May 16th 2012 at 2 46 am Stuart Herbert It is possible to use php unit and ctags in windows7 Thanks for this excellent tutorial Best regards Paulo Silva says May 16th 2012 at 2 46 am Stuart Herbert It is possible to use php unit and ctags in windows7 Thanks for this excellent tutorial Best regards Thiago Araújo Silva says May 18th 2012 at 1 30 pm Hi Stuart thanks for the great advice I m just curious on why you re using ST2 on an Ubuntu VM to do PHP development OS X does just the same has a command line and you don t need to waste system resources to run a virtualized PHP dev environment Stuart Herbert says May 21st 2012 at 3 40 pm thiago partly because my code is targeted at Linux machines first and foremost Using a VM I have a set of 7 8 VMs at any one time helps me catch problems earlier And partly to keep my OSX desktop clean so that I don t have to install macports or alternatives at all Thiago Araújo Silva says May 18th 2012 at 1 30 pm Hi Stuart thanks for the great advice I m just curious on why you re using ST2 on an Ubuntu VM to do PHP development OS X does just the same has a command line and you don t need to waste system resources to run a virtualized PHP dev environment Stuart Herbert says May 21st 2012 at 3 40 pm thiago partly because my code is targeted at Linux machines first and foremost Using a VM I have a set of 7 8 VMs at any one time helps me catch problems earlier And partly to keep my OSX desktop clean so that I don t have to install macports or alternatives at all toto says May 22nd 2012 at 1 41 am i tried installing the package manager sublime text 2 build 2181 but it doesnt show i restarted the application but for some reason it does not work in this build is this happening to you as well build 2181 toto says May 22nd 2012 at 1 41 am i tried installing the package manager sublime text 2 build 2181 but it doesnt show i restarted the application but for some reason it does not work in this build is this happening to you as well build 2181 Martin says May 25th 2012 at 10 37 am Hi i tried sublime but it not good as netbeans I downloaded some plugins quite a lot but what i miss from netbeans showing all function parameters and all ways function with non requirement parameters show in popup comment of the function easier UI the parameters function autocomplete is not so good css php etc What i like look more native on Mac OS X minimap What i dont like on netbeans quite slow sometimes java main minus when i have mounted ftp via transmit sometimes on save netbeans add in css file null bytes on the end of file so the css is not working on website Any advices to make even more simillar to netbeans Thanks Martin says May 25th 2012 at 10 37 am Hi i tried sublime but it not good as netbeans I downloaded some plugins quite a lot but what i miss from netbeans showing all function parameters and all ways function with non requirement parameters show in popup comment of the function easier UI the parameters function autocomplete is not so good css php etc What i like look more native on Mac OS X minimap What i dont like on netbeans quite slow sometimes java main minus when i have mounted ftp via transmit sometimes on save netbeans add in css file null bytes on the end of file so the css is not working on website Any advices to make even more simillar to netbeans Thanks Daniel Polito says May 30th 2012 at 6 15 pm AWESOME POST Thanks so much for sharing this now i love even more ST2 Congratulations for your blog Daniel Polito says May 30th 2012 at 6 15 pm AWESOME POST Thanks so much for sharing this now i love even more ST2 Congratulations for your blog Klaitos says June 11th 2012 at 5 20 pm Are you working in local environment only with ST2 Great article btw Klaitos says June 11th 2012 at 5 20 pm Are you working in local environment only with ST2 Great article btw Aleksandr says June 14th 2012 at 7 19 am Thank you for this post You helped me with switching from Netbeans too As for me ST2 has sometimes even more helpful auto completion though it works only within a single file Also I will recommend few more plugins that I found very useful 1 https github com benmatselby sublime phpcs This plugin adds PHP CodeSniffer PHP Coding Standards Fixer the PHP Linter and phpmd If you install all that it requires you will get alerts when php variable is never used or undefined and much more info about possible problems in your code 2 https github com gornostal Modific I loved feature of Netbeans that highlight lines changed since the last commit So I ve made a plugin that gives you that feature for Sublime Stuart Herbert says June 20th 2012 at 6 43 pm Aleksandr thanks for the recommendations sublime phpcs is a good module and I ll definitely take a look at Modific Aleksandr says June 14th 2012 at 7 19 am Thank you for this post You helped me with switching from Netbeans too As for me ST2 has sometimes even more helpful auto completion though it works only within a single file Also I will recommend few more plugins that I found very useful 1 https github com benmatselby sublime phpcs This plugin adds PHP CodeSniffer PHP Coding Standards Fixer the PHP Linter and phpmd If you install all that it requires you will get alerts when php variable is never used or undefined and much more info about possible problems in your code 2 https github com gornostal Modific I loved feature of Netbeans that highlight lines changed since the last commit So I ve made a plugin that gives you that feature for Sublime Stuart Herbert says June 20th 2012 at 6 43 pm Aleksandr thanks for the recommendations sublime phpcs is a good module and I ll definitely take a look at Modific Sublime Text 2 für PHP aufrüsten says June 29th 2012 at 7 30 am für alle wichtigen Sprachen Wenn es zu speziell wird einfach ein Plugin installieren Und genau hier gibt es eine super Anleitung mit Videos wie man sein Sublime Text 2 auf eine vollwerte IDE für Sublime Text 2 für PHP aufrüsten says June 29th 2012 at 7 30 am für alle wichtigen Sprachen Wenn es zu speziell wird einfach ein Plugin installieren Und genau hier gibt es eine super Anleitung mit Videos wie man sein Sublime Text 2 auf eine vollwerte IDE für Amy Hendrix says June 29th 2012 at 1 59 pm Fantastic post I ve been using and loving ST2 for a while now but even so I picked up a bunch of tricks I didn t know Amy Hendrix says June 29th 2012 at

    Original URL path: http://blog.stuartherbert.com/php/2012/02/28/setting-up-sublime-text-2-for-php-development/ (2016-05-02)
    Open archived version from archive

  • Stuart's Photography - » About
    computer should ever die The Projects After four years of getting absolutely nowhere with improving my photography I decided to pick a project to give me something to focus on and to challenge me to get at least some modicum of consistency by trying to practice my photography on a regular basis Starting in 2007 my main emphasis is my personal photographic project Merthyr Road which aims to capture some of remarkable sights from an industrial past and the rapidly changing present that lie along the line of the A470 trunk road between Cardiff and Merthyr Tydfil Starting in 2010 I ve added a daily desktop wallpaper feature Every weekday I post my choice of desktop wallpaper from a mix of my own photography archive and from new photos taken for the wallpaper project I work at a computer for many hours a day it provides the most opportunity for me to see my favourite photos I reckon Starting in 2010 I ve also added the 25 9 project as an outlet for photos I ve accumulated that just don t suit the squarer 4 3 or 16 10 formats These are published on Saturdays Publishing Schedule I m a great believer that there isn t much point in taking photos if no one is going to get the opportunity to see them and publishing the photos is a great way for me to see them I tend to publish my photos first on Flickr and then organise them into blog posts here You can subscribe to my RSS feed and follow me on Twitter to learn about new posts My current publishing schedule is Monday to Friday excluding public holidays daily desktop wallpaper Monday Wednesday Friday new Merthyr Road articles Tuesdays and Thursdays too when I have time Saturdays 25 9 project and other photography posts on an as and when basis It s rare for me to publish anything on a British public holiday If this isn t the blog you re looking for you can find a full list of topics on my blog homepage and my current bio on my site s homepage About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan 5 Comments Treacy FFion says February 18th 2009 at 9 38 am a nice load of pictures that must have taken you a long long long time to take Did you have to travel the world to find them all They are such beautiful pictures and i wish i had taken them yours scincerly Ffion Stuart Herbert

    Original URL path: http://blog.stuartherbert.com/photography/about/ (2016-05-02)
    Open archived version from archive

  • Stuart's Photography - » Project: Merthyr Road
    Merthyr Road Trees In Bute Park Ty Glas Railway Station U Un Stella Artois S il Vous Plait Under Construction Cardiff Food Festival Under The A470 United Services Mess Unity The Pontypridd Sculpture Unity or Lunacy V Vulcan Hotel Cardiff W Walnut Tree Viaduct Water Bus Stop In Bute Park Watching Over The A470 What Pontypridd Bridge Might Have Looked Like Whatever You Do Don t Blink Doctor Who Where Brown Lenox Used To Be Whispy Clouds Above Cathays Witchurch Railway Station Y ye olde Newbridge Arms Yellow Quarry Tipper Lorry If you want to take a sneak peak at the photos for upcoming articles you ll find them online in my Flickr stream How You Can Follow This Project If you want to know when new articles are added to the project here s how you can keep in touch Subscribe to my photography blog s RSS feed or if you prefer to the feed for all of my blogs Follow stuphotos on Twitter or if you prefer stuherbert if you want all of my musings There is a Facebook page for the project too but right now I m finding that it takes too much time to keep it regularly up to date How You Can Get Involved There are a number of ways you can join in the Merthyr Road project Do you know something about one of the subjects in the articles If you do please add a comment to the article to share what you know Do you know of some interesting post industrial place that I haven t yet photographed for this project If you do please drop me an email at stuart at stuartherbert com Would you like to join in and create articles for this project All you need are a camera a keen eye and a passion for uncovering local history today and tomorrow Your feedback is always much appreciated About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan 34 Comments Stuart s Photography Upcoming Articles List Now On The Project Page says March 28th 2007 at 10 02 pm Project Merthyr Road Stuart s Photography Single Shot Series Past Present and Future In Cardiff says June 19th 2007 at 7 42 am Project Merthyr Road Bill Stace says May 12th 2008 at 4 41 pm Hi Stuart Sorry to be a pain but I need some advice about cameras the weight of them to be more precise I notice that you use a Nikon D200 and the 18 135 lens I have a Nikon D50 with the Nikkor 18 135 lens and I am now fortunate enough to have got agreement from my wife that we can now afford for me to upgrade but it has been made clear that this is a one off exercice for the next 10 years so the next purchase has to be absolutely right I was thinking D300 I like Nikon and the lens but the only couple of things that put me off are the lack of vibration reduction if I use the 18 135 lens and the weight of the camera plus lens Do you find your D200 which is about the same weight as the D300 and the lens to be a bit heavy particularly when trecking though undergrowth etc Is your wife able to use it without complaint I was also considering the Sony Alpha 700 plus Carl Zeiss lens combination which is lighter and also has vibration reduction built in but has a smaller zoom I m not asking for a recommendation just the benefit of your experience which I can weigh up with other factors Having said all this some of your recent pictures are really really good and the call of the D300 is very strong Cheers Bill Stuart Herbert says May 13th 2008 at 5 29 am Hi Bill I find the weight and grip of the D200 to be very comfortable indeed I m normally out and about with the camera for 5 6 hours at a time carrying the camera one handed I don t use a neck strap and the only problem I sometimes get is a bit of cramp from not flexing the right hand enough By all accounts the Sony Alpha 700 is also an excellent camera but I m sticking with Nikon because I find the D200 so easy to handle Hope that helps Stu Stuart s Photography Photos Still Being Taken Queue Getting Longer says April 15th 2009 at 8 31 pm Project Merthyr Road Stuart s Photography How To Geotag Your Photos If You Use A Nikon Digital SLR says May 11th 2010 at 6 35 am Project Merthyr Road Local Sites Passionate About South Wales Stuart s Photography says June 9th 2010 at 9 26 pm Project Merthyr Road Cardiff City Hall At Dawn Cardifferent says March 21st 2011 at 12 35 am Dawn Image by Stuart Herbert Copyright c Stuart Herbert Blog Twitter Facebook Photography Merthyr Road Daily Desktop Wallpaper 25 9 Chiropractic Neck Adjustment Donald Corenman MD Colorado Back Surgeon says March 23rd 2011 at 7 03 pm c Stuart Herbert Blog Twitter Facebook Photography Merthyr Road Daily Desktop Wallpaper 25 9 Nice Audition Musicians photos Open Auditions for Musicians says April 12th 2011 at 2 48 pm c Stuart Herbert Blog Twitter Facebook Photography Merthyr Road Daily Desktop Wallpaper 25 9 Nice klíčové slovo fotografie uverzdarma cz says April 13th 2011 at 11 23 am 2865 a Copyright c Stuart Herbert Blog Twitter Facebooku Fotografie Merthyr Road

    Original URL path: http://blog.stuartherbert.com/photography/merthyr-road/ (2016-05-02)
    Open archived version from archive

  • Stuart's Photography - » Project: 25×9
    2011 at 8 48 am c Stuart Herbert Blog Twitter Facebook Photography Merthyr Road Daily Desktop Wallpaper 25 9 Graffiti Outside The Treforest Tin Works Graffiti Graffiti says January 1st 2012 at 10 28 pm Herbert Weblog Twitter Facebook Photography Merthyr Road Every day Desktop Wallpaper 25 9 Add Your Comments To This Article Using The Form Below Your name required Your email address will not be published required Your website Your comment Your comments may not appear until they have been approved by a moderator Latest Photos Categories A4054 Merthyr Road A469 A470 Trunk Road A473 A48 Abercanaid Administrative Articles Opinion Post Production Barry Barry Docks Barry Railway Brecon and Merthyr Railway Bristol Channel Bute Dock Feeder Bute Docks Caerphilly Cardiff Cardiff Railway Church Village Coal Education Edwardsville Egwlysilan Equipment Financial Font y gary Forest Farm Glamorganshire Canal Great Western Railway Gwaelod y Garth Hawthorn and Upper Boat Historical Iron Steel Junction Canal Leisure Llwyn Onn Local Sites South Wales M4 Motorway Manufacturing Margam Maritime Media Medical Melingriffith Melingriffith Feeder Merthyr Road By Era By Water Merthyr Tydfil Merthyr Vale Miscellaneous Sidings And Other Routes Modern Morganstown Nantgarw Navigation Modern day Abercynon News Penarth Pentyrch and Melingriffith Light Railway Photos 25 9 Caught My Eye Desktop Wallpaper Favourites Other Shots Recommendations Single Shot Series Tablet Wallpaper The Year In Review Travel Photography Pontygwaith Pontypridd Pontypridd Caerphilly and Newport Railway Quakers Yard Quakers Yard and Merthyr Joint Railway Quarrying Radyr Rhymney Railway River Ely River Rhondda River Taff Shoot Shopping Taff Trail Taff Vale Railway Modern day Valley Lines Taffs Well Technique Tin Works Tongwynlais Tonteg Tramroad Treforest Treforest Industrial Estate Turnpike Old Road Uncategorized Walking Routes Archives August 2015 October 2014 April 2014 March 2014 August 2013 July 2013 May 2013 April 2013 March 2013 February 2013 January 2013

    Original URL path: http://blog.stuartherbert.com/photography/project-25x9/ (2016-05-02)
    Open archived version from archive



  •