<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 10:04:46 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Hackers Compromise PHP Sites to Launch Attacks]]></title>
      <guid>http://www.phpdeveloper.org/news/18911</guid>
      <link>http://www.phpdeveloper.org/news/18911</link>
      <description><![CDATA[<p>
According to <a href="http://www.devshed.com/c/a/PHP/Hackers-Compromise-PHP-Sites-to-Launch-Attacks-93656/">this new post</a> on DevShed, there have been several targeted attacks against U.S. bank websites (DDoS), some of which involved the compromise of PHP-based applications.
</p>
<blockquote>
Once the hackers got into the PHP-based websites, they inserted toolkits to turn them into launch pads for their distributed denial-of-service attacks. Hackers then launched the attacks on banks by connecting directly to the compromised PHP-based websites and sending them commands, or took advantage of intermediate servers, proxies or scripts to make the websites do their bidding. InformationWeek lists three attack tools used by the hackers: KamiKaze, AMOS, and the "itsokaynoproblembro" toolkit, also known as Brobot.
</blockquote>
<p>
Several major banks have been targeted including Bank of America, JP Morgan/Chase, HSBC and Well Fargo. The main problem was out-of-date software running on the site containing known security issues the attackers could exploit to install their own software.
</p>
<blockquote>
If a hacker can break into a PHP-based website to use it as a staging area for an attack on a different website, they can also use that website to store stolen information. InformationWeek cited the example of the Eurograbber attack campaign, revealed earlier this month. The gang involved in that campaign stole $47 million from more than 30,000 corporate and private banking customers - and used PHP-based websites into which they hacked to store stolen information.
</blockquote>]]></description>
      <pubDate>Tue, 18 Dec 2012 12:07:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Speeding Up Your CakePHP Websites]]></title>
      <guid>http://www.phpdeveloper.org/news/18575</guid>
      <link>http://www.phpdeveloper.org/news/18575</link>
      <description><![CDATA[<p>
PHPMaster.com has a new tutorial posted sharing a few helpful hints about <a href="http://phpmaster.com/speeding-up-your-cakephp-websites/">speeding up CakePHP-driven sites</a> to help squeeze the most performance out of your site.
</p>
<blockquote>
By applying a few simple modifications, and even some more complex enhancements, CakePHP can be sped up quite a bit. By the time you work your way through even half of these changes, the performance of your your CakePHP site will be comparable to many other popular PHP frameworks, with the advantage that your development speed will never falter!
</blockquote>
<p>
There's several tips in their list - some a bit more difficult to accomplish than others, but worth the results:
</p>
<ul>
<li>Upgrade CakePHP Versions
<li>Disable Debug Mode
<li>Disable Recursive Find Statements
<li>Cache Query Results
<li>Install Memory Based Caching
<li>Removing Apache and Installing Nginx
<li>Configure Nginx to use Memcached
<li>Remove MySQL and Install Percona
</ul>
<p>
For more information on the CakePHP framework, see the <a href="http://cakephp.org">project's main site</a>.
</p>]]></description>
      <pubDate>Tue, 09 Oct 2012 10:08:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: Can We Revive php.net User Notes Or Kill It?]]></title>
      <guid>http://www.phpdeveloper.org/news/18475</guid>
      <link>http://www.phpdeveloper.org/news/18475</link>
      <description><![CDATA[<p>
In <a href="http://www.reddit.com/r/PHP/comments/zixee/can_we_revive_phpnet_user_notes_or_kill_it/">this discussion on Reddit</a>, there's talk about the user comments feature on the <a href="http://php.net">PHP.net</a> site and the value they provide to the language and community.
</p>
<blockquote>
The question, however, has always been "how useful is this feature really and does it bring more harm than good?". It's not that easy to answer since there are so many notes submitted by a wide range of users and some will likely go unnoticed while others seem to get undue attention due to their positioning near the top of the user-notes section of a particularly trafficked page.
</blockquote>
<p>
The poster proposes a few things that could help make them a bit more effective (and useful overall) including voting on the note contents, flagging potential issues and sorting the notes based on popularity/age. He's put together a proof of concept <a href="http://php.sheriframadan.com/manual/en/function.strtotime.php#109929">as seen here</a> with some of the new features. 
</p>]]></description>
      <pubDate>Thu, 13 Sep 2012 12:56:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: Setting Up a (FREE) WordPress Development Site]]></title>
      <guid>http://www.phpdeveloper.org/news/18149</guid>
      <link>http://www.phpdeveloper.org/news/18149</link>
      <description><![CDATA[<p>
In <a href="http://blog.calevans.com/2012/06/27/setting-up-a-free-wordpress-development-site/">this new post</a> to his blog, <i>Cal Evans</i> shows developers (and non-developers) how they can set up a free WordPress blog with the help of the <a href="http://phpcloud.com">phpcloud.com</a> and <a href="phpfog.com">phpfog.com</a> hosted services.
</p>
<blockquote>
Everyone however, experiments. Whether it's a new theme or a new plugin, you really, really need someplace to test things. one of the worst thing you can do is what I do with this blog, just install things and play with them in production. [...] There is a solution though, actually, I'll present you with two. One for PHP developers who know what they are doing and want control, and one for regular bloggers who just want someplace to test plugins and themes before pushing them live. In both cases though, the services are free.
</blockquote>
<p>
He gives a brief introduction to setting up and configuring each of the services - one that lets you import your own version and the other that lets you select to automagically setup a WordPress instance.
</p>]]></description>
      <pubDate>Thu, 28 Jun 2012 08:49:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Roane's Blog: Options for Building a Website from a Developers Perspective]]></title>
      <guid>http://www.phpdeveloper.org/news/18130</guid>
      <link>http://www.phpdeveloper.org/news/18130</link>
      <description><![CDATA[<p>
<i>Chris Roane</i> has a new post to his blog outlining a few different options web developers today have for <a href="http://www.montanaprogrammer.com/work-smarter/developing-website-options/">creating new websites or applications</a> - static, custom, framework-based or CMS.
</p>
<blockquote>
Over the years I've built many different types of websites. These range from being a few pages, to being very customized with advanced features. I've learned there is no clear definition in the best way to create a website. But I do think there are advantages and disadvantages to pursuing different methods. This article takes an analytical look at each option. Let's take a closer look at the different approaches in building a website.
</blockquote>
<p>
He includes a brief summary talking about each method and mentions things like benefits and downfalls of the approach and what can be involved in their development.
</p>]]></description>
      <pubDate>Mon, 25 Jun 2012 08:28:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Building a Multilingual PHP Website]]></title>
      <guid>http://www.phpdeveloper.org/news/16802</guid>
      <link>http://www.phpdeveloper.org/news/16802</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a new post from <i>Vojislav Janjic</i> with three methods (sans-framework) that you can use to <a href="http://www.phpbuilder.com/columns/MultilingualPHPSite/index.php3">create a multilingual website</a> - some a bit easier to maintain than others.
</p>
<blockquote>
Fast internet growth has brought many opportunities in the global market. Businesses can reach their customers across many countries, and information sharing is not limited to a local area or country anymore. This is why there is an increasing tendency for multilingual websites. By having a website in multiple languages, you can target local markets more easily. Also, it is more convenient to use a website in your native language.
</blockquote>
<p>
His three methods are all relatively simple, but they all have their good and bad points - making separate HTML/views for each language, creating XML files with different versions of the content or storing the translations in a MySQL database. He gives quick code snippets showing how to implement each of them, some basing the language on a cookie value, others on a GET variable passed to the page.
</p>]]></description>
      <pubDate>Thu, 01 Sep 2011 09:02:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tutorialzine.com: Building a Website with PHP, MySQL and jQuery Mobile, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/16759</guid>
      <link>http://www.phpdeveloper.org/news/16759</link>
      <description><![CDATA[<p>
From Tutorialzine.com today, they've posted the <a href="http://tutorialzine.com/2011/08/jquery-mobile-product-website/">first part of a series</a> looking at the construction of a full mobile website using PHP, MySQL and jQuery mobile.
</p>
<blockquote>
In this two-part tutorial, we will be building a simple website with PHP and MySQL, using the Model-View-Controller (MVC) pattern. Finally, with the help of the <a href="http://jquerymobile.com/">jQuery Mobile framework</a>, we will turn it into a touch-friendly mobile website, that works on any device and screen size. In this first part, we concentrate on the backend, discussing the database and MVC organization. Next time, we will be writing the views and integrating jQuery Mobile.
</blockquote>
<p>
Their simple application lets you browse products in a storefront with products and their categories. They don't use any particular framework and instead opt for a "include all" approach in their example. This makes it simpler to bootstrap, but shouldn't be used in a production-ready version of the application. There's simple frameworks (like <a href="http://codeigniter.com">CodeIgniter</a> out there that can help take it to the next level without much more complexity). You can see a <a href="http://demo.tutorialzine.com/2011/08/jquery-mobile-product-website/">demo of it in action</a> or just <a href="http://demo.tutorialzine.com/2011/08/jquery-mobile-product-website/mobile-store.zip">download the source</a> to get started hacking.
</p>]]></description>
      <pubDate>Tue, 23 Aug 2011 12:33:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[StackOverflow.com: The Definitive Guide To Forms based Website Authentication]]></title>
      <guid>http://www.phpdeveloper.org/news/16713</guid>
      <link>http://www.phpdeveloper.org/news/16713</link>
      <description><![CDATA[<p>
If you haven't seen it yet, there's a post over on StackOverflow that's been growing over the past few days about <a href="http://stackoverflow.com/questions/549/the-definitive-guide-to-forms-based-website-authentication">form-based authentication in websites</a>. The author wants to make a definitive resource for people to use when making good, secure user authentication systems.
</p>
<blockquote>
Please help us create the definitive resource for this topic. We believe that stackoverflow should not just be a resource for very specific technical questions, but also for general guidelines on how to solve variations on common problems. "Form Based Authentication For Websites" should be a fine topic for such an experiment.
</blockquote>
<p>
They want to include topics like logins, storing passwords, "forgot password" security, OpenID, browser autocompletion, password strength, email validation and more. They already laid out eight different sections with summaries including:
</p>
<ul>
<li>How To Remain Logged In - The Infamous "Remember Me" Checkbox
<li>Using Secret Questions
<li>Checking Password Strength
<li>Much More - Or: Preventing Rapid-Fire Login Attempts
<li>Two-Factor Authentication and Authentication Providers
</ul>
<p>
There's some <a href="http://stackoverflow.com/questions/549/the-definitive-guide-to-forms-based-website-authentication">good feedback from other users</a> with other suggestions and links to external resources that could shed some more light on the topic.
</p>]]></description>
      <pubDate>Fri, 12 Aug 2011 12:13:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sasa Stamenkovic's Blog: Create Kick-ass Website in no Time with Silex]]></title>
      <guid>http://www.phpdeveloper.org/news/16642</guid>
      <link>http://www.phpdeveloper.org/news/16642</link>
      <description><![CDATA[<p>
<i>Sasa Stamenkovic</i> has a <a href="http://dev.umpirsky.com/create-kick-ass-website-in-no-time-with-silex/">quick post</a> to his blog talking about a switch he made away from the <a href="http://framework.zend.com">Zend Framework</a> over to <a href="http://silex-project.org/">Silex</a> for a simple portfolio site.
</p>
<blockquote>
Last week I needed a small website. I wanted it to be quick and dirty. Well, blazing fast and not so dirty. I heard best about <a href="http://silex-project.org/">Silex</a>, so I gave it a shot. It was more then good experience. It worked like a charm, it was fun to use and site was completed in one day.
</blockquote>
<p>
He includes two code snippets - one is the basic "hello world" example that most Silex tutorials reference and the other is more specific to his site. It defines the routes and the (Twig) templates they relate to. A few <a href="https://github.com/umpirsky/umpirsky.com/tree/master/vendor">submodules</a> helped him get this and other functionality working (like the Forms component and Swiftmailer for a contact form). You can find the full source for the site over <a href="https://github.com/umpirsky/umpirsky.com">on github</a>.
</p>]]></description>
      <pubDate>Wed, 27 Jul 2011 12:02:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Carmony's Blog: Working with Middle-Scale Websites]]></title>
      <guid>http://www.phpdeveloper.org/news/16618</guid>
      <link>http://www.phpdeveloper.org/news/16618</link>
      <description><![CDATA[<p>
In a new post <i>Justin Carmony</i> looks at what it <a href="http://www.justincarmony.com/blog/2011/07/18/working-with-middle-scale-websites/">means to me a "middle-scale website"</a> and has some recommendations for anyone working with their applications and considering things like scalability, overcompensation and finding real results through profiling.
</p>
<blockquote>
Hopefully at some point, your website is going to get a lot of traffic. Yay, you've reached your goal of getting good traffic, but it is soon followed by issues with performance and load. I like to call these the growing pains of a website. So as a web developer, I suddenly have the epiphany of "Hey, I need to scale my website!" What follows next is the biggest mistake a web developer can make: They start looking at articles on how Google scales, or maybe how Facebook manages all of their traffic. This is a mistake! To be brutally honest, you are not Google. You are not Facebook. You are not Twitter. You are a website that receives less than 0.000001% of the traffic that some of the major websites receive.
</blockquote>
<p>
He includes a "reality check" of the setup behind a popular social site, <a href="http://stackexchange.com/">StackExchange</a>, with comments from their <a href="http://blog.serverfault.com/post/stack-exchanges-architecture-in-bullet-points/">own post about their infrastructure</a>. He talks about things included in a move to "middle-scale" like adding caching, performance tweaking, moving to a multiple server model and using replication.
</p>]]></description>
      <pubDate>Thu, 21 Jul 2011 11:53:08 -0500</pubDate>
    </item>
  </channel>
</rss>
