<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Friends of ericbarnes</title><link>http://disqus.com/by/ericbarnes/</link><description></description><atom:link href="http://disqus.com/ericbarnes/friends.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 19 Mar 2013 17:59:33 -0000</lastBuildDate><item><title>Re: Running out of Post IDs</title><link>(u'http://staff.tumblr.com/post/4259474622',%20176221546L)#comment-176221546</link><description>&lt;p&gt;First thought: Will never work in IE&lt;br&gt;Second thought: April fools.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Fri, 01 Apr 2011 12:04:34 -0000</pubDate></item><item><title>Re: hybrid grid</title><link>(u'http://snipt.net/gumby/hybrid-grid/',%20500910179L)#comment-500910179</link><description>&lt;p&gt;Everyone forgets poor French Fries.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Wed, 18 Apr 2012 12:07:33 -0000</pubDate></item><item><title>Re: Episode 3: The EE revolt of 2012 and why you should unit-test your shit - PHP Town Hall</title><link>(u'http://phptownhall.com//blog/2012/12/20/episode-3-ee-revolt-unit-test/',%20748548786L)#comment-748548786</link><description>&lt;p&gt;I complete agree with Chris - Composer + Packagist is a turning point in PHP.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Thu, 27 Dec 2012 11:20:54 -0000</pubDate></item><item><title>Re: Ubuntu: Install LAMP with PHP 5.4</title><link>(u'http://fideloper.com/ubuntu-install-php54-lamp',%20757795927L)#comment-757795927</link><description>&lt;p&gt;What version of Ubuntu are you using? That's looking for Quantal distro, which doesn't appear to be in that repo. I have this working under precise LTS - &lt;a href="http://ppa.launchpad.net/ondrej/php5/ubuntu/dists/precise/main/binary-i386/Packages" rel="nofollow noopener" target="_blank" title="http://ppa.launchpad.net/ondrej/php5/ubuntu/dists/precise/main/binary-i386/Packages"&gt;http://ppa.launchpad.net/on...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Some googling reveals that there might be an issue with 5.4 and 12.10 Quantal, perhaps that needs some time to work itself out.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Sun, 06 Jan 2013 10:08:44 -0000</pubDate></item><item><title>Re: Women Need to Realize Work Isn't School</title><link>(u'http://blogs.hbr.org/cs/2013/01/women_need_to_realize_work_isnt_schol.html',%20763784695L)#comment-763784695</link><description>&lt;p&gt;I think "disruptive" should be replaced with "assertive" - Unless speaking in terms of "disrupting the normal work flow/convention."&lt;/p&gt;&lt;p&gt;I can understand women needing to take special care in the presentation of themselves - Seeing how easily they can be dismissed when they approach "assertiveness". It's a sad state of affairs.&lt;/p&gt;&lt;p&gt;However, this article seems to be implicitly stating that women approach authority (Teachers, bosses) differently then men. Is that the intent?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Fri, 11 Jan 2013 10:50:24 -0000</pubDate></item><item><title>Re: Testable and Maintainable code with Dependency Injection and Containers</title><link>(u'http://fideloper.com/testable-maintainable-di-containers',%20779300971L)#comment-779300971</link><description>&lt;p&gt;Thanks! Appreciate it!&lt;/p&gt;&lt;p&gt;I've been using Laravel a lot, and have found writing about the concepts behind it very useful to learn the framework itself.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Sat, 26 Jan 2013 16:25:02 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20782510194L)#comment-782510194</link><description>&lt;p&gt;Thanks, appreciate it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 29 Jan 2013 18:06:59 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20782511359L)#comment-782511359</link><description>&lt;p&gt;:D - (Keeping you mind!)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 29 Jan 2013 18:08:06 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20782595161L)#comment-782595161</link><description>&lt;p&gt;Oh, good call - that's an absolute path in the form code instead of a relative one. Those using a localhost to do something like http://localhost/myproject/public will need to adjust that.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 29 Jan 2013 19:41:56 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20786160242L)#comment-786160242</link><description>&lt;p&gt;Hello - Thanks!&lt;/p&gt;&lt;p&gt;I have seen this issue crop up for some in IRC chat. It could be an issue with PHP and Apache. &lt;a href="http://stackoverflow.com/questions/13577596/segmentation-fault-with-mysql-pdo" rel="nofollow noopener" target="_blank" title="http://stackoverflow.com/questions/13577596/segmentation-fault-with-mysql-pdo"&gt;http://stackoverflow.com/qu...&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Note that the --env=local flag is specifically looking for credentials in the "local" environment. If it's not finding them in app/config/local/database.php, it'll fall back to what it finds in app/config/database.php. (I'm not sure if this issue is environment related, but I wanted to point that out).&lt;/p&gt;&lt;p&gt;Hope that helps!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Fri, 01 Feb 2013 15:28:35 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20788179321L)#comment-788179321</link><description>&lt;p&gt;I'm glad it's helpful! I'm posting as I learn, to help me remember everything :D&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Mon, 04 Feb 2013 09:42:23 -0000</pubDate></item><item><title>Re: Laravel 4: A Start at a RESTful API (Updated)</title><link>(u'http://code.tutsplus.com/tutorials/laravel-4-a-start-at-a-restful-api-updated--net-29785',%20789463060L)#comment-789463060</link><description>&lt;p&gt;Awesome, I'll check on that.&lt;br&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 05 Feb 2013 12:32:28 -0000</pubDate></item><item><title>Re: Laravel 4: A Start at a RESTful API (Updated)</title><link>(u'http://code.tutsplus.com/tutorials/laravel-4-a-start-at-a-restful-api-updated--net-29785',%20789613959L)#comment-789613959</link><description>&lt;p&gt;Indeed! There are many, many aspects to consider. Most frameworks are working towards standard web-work and so API's are more of an add-on, rather than a focus.&lt;/p&gt;&lt;p&gt;Perhaps in the case where your API will be fairly robust, a truly smaller framework would help more than hinder (Silex comes to mind in the PHP world).&lt;/p&gt;&lt;p&gt;It would be great to see a framework specifically for API's. (NodeJS has a few, such as Restify)&lt;/p&gt;&lt;p&gt;Laravel 4 does give you more potential control, both at error handling and controller/routing logic. With its use of Composer and packages you could *conceivably* use what you want and "overwrite" what you don't like (For instance, standard controller logic to handle not-found methods).&lt;/p&gt;&lt;p&gt;Sidenote: Do you blog any of your RESTful API work? I'd love to read up on the detail work, such as normalizing http 1.0 vs 1.1, etc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 05 Feb 2013 14:33:50 -0000</pubDate></item><item><title>Re: Laravel 4: A Start at a RESTful API (Updated)</title><link>(u'http://code.tutsplus.com/tutorials/laravel-4-a-start-at-a-restful-api-updated--net-29785',%20790542150L)#comment-790542150</link><description>&lt;p&gt;You would likely need a browser plugin to help you do this. Keep in mind I used basic auth as an example. While some popular API's have used it, most use oAuth (Which is a better, but more complex, solution)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Wed, 06 Feb 2013 09:03:09 -0000</pubDate></item><item><title>Re: Laravel 4: A Start at a RESTful API (Updated)</title><link>(u'http://code.tutsplus.com/tutorials/laravel-4-a-start-at-a-restful-api-updated--net-29785',%20790543109L)#comment-790543109</link><description>&lt;p&gt;Looks awesome!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Wed, 06 Feb 2013 09:04:28 -0000</pubDate></item><item><title>Re: Laravel 4: A Start at a RESTful API (Updated)</title><link>(u'http://code.tutsplus.com/tutorials/laravel-4-a-start-at-a-restful-api-updated--net-29785',%20790546160L)#comment-790546160</link><description>&lt;p&gt;Possibly, but composer.phar can be in any location, not necessary inside the project root.&lt;/p&gt;&lt;p&gt;For instance, I ALWAYS put it inside of a 'bin' folder, so on my computer, I actually run:&lt;br&gt;$ php bin/composer.phar dump-autoload.&lt;/p&gt;&lt;p&gt;Even better, tho, I believe Laravel is making some strives towards doing this automatically, or setting up autoloading in a way that it's not necessary.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Wed, 06 Feb 2013 09:07:09 -0000</pubDate></item><item><title>Re: Vagrant: What, Why, and How</title><link>(u'http://code.tutsplus.com/tutorials/vagrant-what-why-and-how--net-26500',%20794199803L)#comment-794199803</link><description>&lt;p&gt;Hello!&lt;/p&gt;&lt;p&gt;I believe the real benefit is time. Similar to unit-testing, it takes some up-front work for a long-term cost savings.&lt;/p&gt;&lt;p&gt;For instance, your example of using "apt-get install new-server ... and then configure it" - That configuration takes a lot of time (speaking from experience).&lt;/p&gt;&lt;p&gt;To demonstrate: I keep a markdown file for all servers I have built for certain projects. Here's a run down of what a typical web-head takes to build (after some hours of making sure of configurations and install packages are what you wanted) - This is an incomplete  example of a web server (vs a database or other service):&lt;/p&gt;&lt;p&gt;Basic Server Installs:&lt;br&gt;$ apt-get update&lt;br&gt;$ apt-get install -y python-software-properties&lt;br&gt;$ add-apt-repository ppa:ondrej/php5&lt;br&gt;$ apt-get update&lt;br&gt;$ apt-get install -y php5&lt;br&gt;$ apt-get install -y apache2&lt;br&gt;$ apt-get install -y libapache2-mod-php5&lt;br&gt;$ apt-get install -y mysql-server&lt;br&gt;$ apt-get install -y php5-mysql&lt;br&gt;$ pecl install mongo&lt;br&gt;$ echo "extension=&lt;a href="http://mongo.so" rel="nofollow noopener" target="_blank" title="mongo.so"&gt;mongo.so&lt;/a&gt;" | tee /etc/php5/conf.d/mongo.ini&lt;br&gt;$ apt-get install -y php5-gd&lt;br&gt;$ apt-get install -y curl php5-curl&lt;/p&gt;&lt;p&gt;Other tasks:&lt;/p&gt;&lt;p&gt;* Timezone and time-syncronization&lt;br&gt;* User administration (You're not allowing direct log-in into your production machine as root, right? Also: Apache has own user/group. Code deployment user and group management, etc etc)&lt;br&gt;* Apache performance tweaks and general tuning&lt;br&gt;* php error reporting and other  performance tweaks (since this is a LAMP example)&lt;br&gt;* Virtual Host setup&lt;br&gt;* Logging, including logrotate and log backup. Distributed environment = log aggregation concerns (more servers!)&lt;br&gt;* Firewall setup&lt;br&gt;* Server Monitoring (New Relic, home-grown or other)&lt;/p&gt;&lt;p&gt;So, as you can see, even arguably simple server setups can demand complicated and thoughtful setup.&lt;/p&gt;&lt;p&gt;The value of chef, puppet, and ultimately vagrant is in automating tasks that take precious **time** and are prone to error.&lt;/p&gt;&lt;p&gt;Time saved in:&lt;br&gt;* Deployment, including adding new servers&lt;br&gt;* Development - having same/similar server to dev in as production means less nasty surprises.&lt;/p&gt;&lt;p&gt;* Consistency - errors due to mismatching versons goes away&lt;/p&gt;&lt;p&gt;I hope that helps show just how much work can go into starting up a production server and how Vagrant fits into using chef/puppet to save you time and headache.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Sat, 09 Feb 2013 19:28:52 -0000</pubDate></item><item><title>Re: ETag&amp;#8217;s and Conditional GET&amp;#8217;s in Laravel 4</title><link>(u'http://fideloper.com/laravel4-etag-conditional-get',%20798196941L)#comment-798196941</link><description>&lt;p&gt;I haven't yet, but it's certainly on my To Do list!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Wed, 13 Feb 2013 16:57:58 -0000</pubDate></item><item><title>Re: Laravel 4 Error Handling</title><link>(u'http://fideloper.com/laravel4-error-handling',%20800450454L)#comment-800450454</link><description>&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Laravel actually doesn't give you a clear place to put your own library for things like business logic. Presumably you could add it all into your "Models" directory, but I don't like that approach.&lt;/p&gt;&lt;p&gt;I recommend having a external library for your business logic, that would be a good place to put custom Exceptions.&lt;/p&gt;&lt;p&gt;I typically set up my own "lib" directory for business logic type libraries. I only keep Eloquent or simliar classes in L4's "models" directory.&lt;/p&gt;&lt;p&gt;See this: &lt;a href="http://fideloper.com/post/41543586521/laravel-4-application-setup-app-library-autoloading" rel="nofollow noopener" target="_blank" title="http://fideloper.com/post/41543586521/laravel-4-application-setup-app-library-autoloading"&gt;http://fideloper.com/post/4...&lt;/a&gt; for an example of what I mean, and how to accomplish that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Fri, 15 Feb 2013 11:37:53 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20820352044L)#comment-820352044</link><description>&lt;p&gt;I see a few people up-voted this, so I'd like to response.&lt;/p&gt;&lt;p&gt;It's accurate and true, this article gives little explanation.&lt;/p&gt;&lt;p&gt;My intent was to give a working quick-start guide. I most definitely assume some knowledge, and I didn't spell that out.&lt;/p&gt;&lt;p&gt;My intended audience is generally one that knows the framework a bit, and one that's interesting in doing more advanced things with it. This might be more obvious with my other Laravel-related posts.&lt;/p&gt;&lt;p&gt;I actually use this article a lot.&lt;/p&gt;&lt;p&gt;For instance, when I want to start a new build up and get going quickly , I can copy and paste quite a few things here and have it work quickly.&lt;/p&gt;&lt;p&gt;I wasn't out to teach the basics of Laravel setup - I apologize for making that unclear.&lt;/p&gt;&lt;p&gt;That being said, I'm not going to write out the basics of getting started - My intended audience is for more medium to advanced users in both PHP/coding and Laravel.&lt;/p&gt;&lt;p&gt;Thanks for reading in any case!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 05 Mar 2013 16:47:11 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20820353476L)#comment-820353476</link><description>&lt;p&gt;Hi! That's certainly frustrating. There quite a few thing that could go wrong, and those things can vary from your environment to updates in Laravel causing this article to not be accurate any longer (And any mistakes I've made - altho I have copied/pasted and used this process many times).&lt;/p&gt;&lt;p&gt;Can you let me know the original errors you were getting? Perhaps I can help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 05 Mar 2013 16:48:46 -0000</pubDate></item><item><title>Re: Error Handling with Content Negotiation</title><link>(u'http://fideloper.com/post/42320805199',%20823331877L)#comment-823331877</link><description>&lt;p&gt;Yes! That's something I've been meaning to get to - I'd like to figure out the best way to handle that gracefully.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Fri, 08 Mar 2013 16:27:38 -0000</pubDate></item><item><title>Re: Ubuntu in Production: Install Sphinx Search, with PHP |Fideloper</title><link>(u'http://fideloper.com/production-ubuntu-install-sphinx-search',%20828130711L)#comment-828130711</link><description>&lt;p&gt;Awesome, thanks!&lt;/p&gt;&lt;p&gt;Are you aware of any pitfalls in installing php5-dev on an production machine?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Wed, 13 Mar 2013 13:52:31 -0000</pubDate></item><item><title>Re: ETag&amp;#8217;s and Conditional GET&amp;#8217;s in Laravel 4</title><link>(u'http://fideloper.com/post/44396437701',%20834621918L)#comment-834621918</link><description>&lt;p&gt;Great point! Thanks, I'll update that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 19 Mar 2013 08:46:21 -0000</pubDate></item><item><title>Re: Laravel 4 Uber-Quick-Start (With auth!) Guide</title><link>(u'http://fideloper.com/laravel-4-uber-quick-start-with-auth-guide',%20835084883L)#comment-835084883</link><description>&lt;p&gt;Ah, I've run into that issue! That's something with how Taylor @ Laravel updates - sometimes composer repos or the "skeleton" app are out of sync with each other. (While they are developing new stuff or making changes in Beta).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fideloper</dc:creator><pubDate>Tue, 19 Mar 2013 17:59:33 -0000</pubDate></item></channel></rss>