Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Turning a Crawled Website into a Search Engine with PHP
Jul 06, 2015 @ 10:19:43

The SitePoint PHP blog has posted the second part of their "Powerful Custom Search Engines with Diffbot" series with part two showing how to take the Diffbot results and make them searchable.

In the previous part of this tutorial, we used Diffbot to set up a crawljob which would eventually harvest SitePoint’s content into a data collection, fully searchable by Diffbot’s Search API. We also demonstrated those searching capabilities by applying some common filters and listing the results. [...] In this part, we’ll build a GUI simple enough for the average Joe to use it, in order to have a relatively pretty, functional, and lightweight but detailed SitePoint search engine. What’s more, we won’t be using a framework, but a mere total of three libraries to build the entire application.

For those interested in the end result, you can skip to the demo. Otherwise, they'll walk you through the full process:

  • Bootstrapping the environment and needed libraries
  • Creating a simple "home" page with a Diffbot client
  • Creating the frontend interface (a form allowing for various search terms)
  • Making the Javascript to catch the form submission
  • Adding CSS to style the page
  • Building out the PHP backend to perform the different search types (author and keywords)

Finally he ties it all together and create the output of the search results, providing links to each of the matching pages, posting date, author information and a brief summary. He ends the post with a look at paginating the results via a "PaginationHelper" class that will drop a navigation item at the bottom of the results and handle moving from page to page, interfacing with the Diffbot client.

tagged: search engine diffbot tutorial series part2 results crawled website

Link: http://www.sitepoint.com/turning-crawled-website-search-engine-php/

Community News:
Packagist.org Gets a Makeover
Jun 16, 2015 @ 11:55:42

If you're a Composer user by now you've noticed a major overhaul that's happened to the Packagist.org website in the last few days. They've made a major improvement to how the site looks and have added some fun new functionality to help make finding packages easier.

According to the Laravel News site, updates include a change in the recommended install method, the addition of more GitHub metadata and the inclusion of the project's README file. The site will also allow you to sort (ascending and descending) by the number of stars the repository has as well as the number of downloads.

The site still includes all of the information it dod before too including version listings, details about what the package requires, license information and links to more information and the actual repository. Check out the new look and see what you think. Packagist is also an Open Source project so if you find an issue, be sure to either report it to the project or get in, fix it yourself and make the pull request to submit it.

tagged: packagist composer makeover functionality update website

Link: http://packagist.org

SitePoint PHP Blog:
Using BoltCMS to Build a Small Business Website
Apr 21, 2015 @ 12:12:23

The SitePoint PHP blog has a new tutorial posted showing you how to set up a simple small business website using the BoltCMS tool. This recent article will walk you through the full installation, configuration and setup for a simple site including database interactions.

As the web continues to mature and the demand for the efficiency of content delivery increases, more and more slim and trim CMSs are coming into the fray. Developers (front-end and back-end) are branching away from the heavy-hitters like WordPress and Drupal, and into the likes of more streamlined, tailor-made solutions. Bolt CMS is one of these CMSs, and prides itself on being a dream for designers, developers, and content editors alike.

He starts with a brief overview of what the BoltCMS has to offer and some of the technology that powers it. He then goes through each of the steps to get the application up and running:

  • Requirements, setup and installation
  • Main configuration and theme set up
  • Splitting up files into templates
  • Introducing and creating content types
  • Retrieving content from database records

Each step along the way includes the code, configuration changes or template updates you'll need to make to end up with a simple site allowing you to view a page of content and list/add related testimonials.

tagged: boltcms small business website tutorial page testimonial

Link: http://www.sitepoint.com/using-boltcms-build-small-business-website/

Community News:
Wisdom of the ElePHPant
Feb 11, 2015 @ 10:24:46

Cal Evans, a prominent member of the PHP community, has put together a new project sharing what he's called "Wisdom of the ElePHPant", a series of short thoughts by members of the PHP community touching on everything from the art of programming to helping out open source projects to working with code reviews.

All of these little nuggets of wisdom have been gathered and put into a small book, one per page. These books cannot be purchased but there are sources where you can find them and get a copy of your own (such as conferences, user groups or from various members of the PHP community). Fortunately, there was more than enough wisdom to go around and some of the submissions are also being shared on the site including current ones from Jeremy Kendall, Erika Heidi and Cal himself.

This is a great resource for some quick chunks of wisdom from developers who have seen (and overcome) a lot of the challenges developers experience every day. I highly suggest picking up a copy for yourself...if you can track one down. For more check out the project's main site, WisdomOfTheElePHPant.com.

tagged: wisdomoftheelephpant book website thoughts community

Link: http://wisdomoftheelephpant.com

Laravel News:
Laravel.us & Laravel.eu 2015 Conference Websites Launched
Feb 04, 2015 @ 09:23:25

On the Laravel News site today there's an announcement posted about the launch of the Laracon 2015 conference websites for both editions, in the United States and in Europe.

Today both the Laracon.us and Laracon.eu conference sites have been launched. Both sharing the same style of branding and logo. The US conference will be held in Kentucky on August 11-12, and the EU in Amsterdam on August 25-26. Early bird pricing is available for both and the speaker lineup will be announced at a later time.

The Early Bird tickets for each even come in at just a bit over $300 USD and no schedules have been posted, but that's a great price for either of these two-day events. Each site also has links to subscribe to a mailing list related to the event so you can get the latest updates as they're released.

tagged: laracon unitedstates europe laraconus laraconeu conference website launch

Link: https://laravel-news.com/2015/02/laracon-2015-conference-sites-launched/

Symfony Blog:
Symfony 2014 Year in Review: symfony.com website
Dec 29, 2014 @ 10:55:47

The Symfony framework blog has posted their end of year review for 2014 with happenings in both the Symfony framework and community.

2014 has been the busiest year in the entire history of the Symfony project website. First, we redesigned our website to bring in a more modern look and feel. Then, we added two new sections: Symfony Marketplace, which is the place where you can find all the products and services built around Symfony ecosystem and Symfony Jobs, which is the official job board to look for and post Symfony related job offers.

In addition, we boosted the official Symfony Blog with lots of new articles and a faster post publishing pace to provide you more contents.

They list out their "top ten" of most popular posts on the site including articles about performance, the v 3.0 roadmap and developer experience. They end the post with a reminder about another new part of the site coming soon - the Symfony Showcase showing off sites built with the framework.

tagged: symfony website community top10 symfonyjobs symfonymarketplace

Link: http://symfony.com/blog/symfony-2014-year-in-review-symfony-com-website

PHP.net:
A further update on php.net
Oct 25, 2013 @ 10:20:05

As many probably noticed yesterday, the entire PHP.net domain (subdomains and all) were marked by the Google Safe Browsing service as potentially harmful. The issue has been discovered and resolved so things are back to normal, but the development group wanted to provide an update as to the current status.

We are continuing to work through the repercussions of the php.net malware issue described in a news post earlier today. As part of this, the php.net systems team have audited every server operated by php.net, and have found that two servers were compromised: the server which hosted the www.php.net, static.php.net and git.php.net domains, and was previously suspected based on the JavaScript malware, and the server hosting bugs.php.net. The method by which these servers were compromised is unknown at this time.

The post talks about some of the actions taken since the compromise and more details about what happened. It all revolved around a malicious Javascript file that was served to some visitors of the site. For more information as it becomes available, check back with the main PHP.net site or follow official_php on Twitter.

tagged: phpnet website compromise javascript actions

Link: http://blog.sznapka.pl/testing-in-isolation-with-symfony2-and-webtestcase

Symfony Blog:
Symfony Website Updates
Oct 04, 2013 @ 09:05:44

On the Symfony project's blog today there's a new post from Fabien Potencier talking about some updates that have been made to the Symfony website.

There's a few things that got an update including:

  • Translations that were added to the main site
  • A method of aggregation for Symfony-related blogs
  • A Roadmap notification system that lets you set up email notifications on major roadmap changes and releases.

They're still working on the translations, but if you'd like to help you can contribute to their github repository.

tagged: symfony website update translation planet feed roadmap notification

Link: http://symfony.com/blog/symfony-website-updates

Hannes Magnusson:
New PHP.net designs floating around
Sep 06, 2013 @ 11:50:37

In a new post to his site Hannes Magnusson talks some about the current PHP documentation (and PHP.net site) formatting and how, while changes to it are quick, they should be instant. He suggests a path to get there and a new tool that could help.

Since 2008 there have been numerous efforts to create a new design for www.php.net, all of which have failed - so far. We've never come as close as two years ago, when the "beta mode" option was added to our website, but we never really got around to finish it. The "beta design" has even received a lot of makeover compared to what is "beta mode" now. To make things a little bit more awesome, there is also a new branch called "responsive" which has a lot of changes in it too, especially for manual pages. Hopefully, one day, we'll actually finish one of these and flip the switch forever.

While he's been a fan of the DocBook structure that's currently in use, he points out that learning the markup can be a hinderance to people contributing. His tool, PhD, does some custom parsing too adding additional complexity. To help, he's working on a new tool (WTFM) to use Markdown formatting instead of DocBook, a more common format.

tagged: phpnet website design docbook markdown update

Link: http://bjori.blogspot.com/2013/09/new-phpnet-designs-floating-around.html

Symfony Blog:
The symfony.com website... in your language
Jun 11, 2013 @ 09:23:43

On the Symfony blog there's a new post mentioning the availability of the static contents of the Symfony site as a public repository.

The Symfony website has always been in English as English is probably the lingua-franca for web developers. But as some sections of the website do not change that frequently (mainly the "What is Symfony?", "Get started", and "About" sections), and because not all developers are comfortable reading English websites, I'm very happy to announce that most of the static contents are now available in a public Git repository.

They've already had people contributing back to the documentation in their own languages including German, Slovak, Czech, Swedish and Polish. Some of them are still works in progress, but they're getting there.

tagged: symfonycom website language translation github repository

Link: http://symfony.com/blog/the-symfony-com-website-in-your-language