PHP Community

PHPClasses.org: 5 Reasons Why the Web Platform War is Over: PHP Won with 75% says Google

PHPDeveloper.org - Wed, 22/05/2013 - 16:06

In this new post to the PHPClasses.org blog Manuel Lemos talks some about the recent introduction of PHP into Google's App Engine offerings.

During Google I/O 2013 event a Google manager said PHP runs on 75% of the Web sites. So they decided to finally support PHP as in their AppEngine hosting service. Read this article to understand why this puts an end to years of false claims that PHP was losing market, as well what it means to Web developers using PHP or other languages.

He looks at the App Engine PHP offering and looks at whether or not its a good platform to use for hosting your application. He points out some advantages and disadvantages (including no local file system access and no remote resource access). He also includes five reasons why the "web platform war is over" and why PHP has come out victorious:

  • Google Knows Because They Crawl the Whole Web
  • Google Does Not Influence Web Developers so much
  • Wordpress is the Dominant Blog Platform (not Blogger)
  • Programming Does Not Have to Be Beautiful
  • PHP Detractors Have the Wrong Focus

He admits, though, that PHP may not be dominant forever - it's not perfect, but there will always be a need for something that does what it can do (and does it well).

Link: http://www.phpclasses.org/blog/post/208-5-Reasons-Why-the-Web-Platform-War-is-Over-PHP-Won-with-75-says-Google.html

Community News: Packagist Latest Releases for 05.22.2013

PHPDeveloper.org - Wed, 22/05/2013 - 15:09
Recent releases from the Packagist:

Community News: Packagist Latest Releases for 05.22.2013

PHPDeveloper.org - Wed, 22/05/2013 - 15:09
Recent releases from the Packagist:

Community News: Packagist Latest Releases for 05.22.2013

PHPDeveloper.org - Wed, 22/05/2013 - 15:09
Recent releases from the Packagist:

Community News: Latest Releases from PHPClasses.org

PHPDeveloper.org - Wed, 22/05/2013 - 14:03

Community News: Latest Releases from PHPClasses.org

PHPDeveloper.org - Wed, 22/05/2013 - 14:03

Community News: Latest Releases from PHPClasses.org

PHPDeveloper.org - Wed, 22/05/2013 - 14:03

Code complexity and clean code

Planet-PHP - Wed, 22/05/2013 - 13:00
Many people wonder how they can improve the overall readability and cleanliness of their code. It seems impossible to understand exactly how to rewrite code in such a way that makes it clean, easy to understand and simple to work with. But clean code is about a few simple principles, one of which is reducing [...]
Categories: Open Source, PHP Community

Code complexity and clean code

Planet-PHP - Wed, 22/05/2013 - 13:00
Many people wonder how they can improve the overall readability and cleanliness of their code. It seems impossible to understand exactly how to rewrite code in such a way that makes it clean, easy to understand and simple to work with. But clean code is about a few simple principles, one of which is reducing [...]
Categories: Open Source, PHP Community

Code complexity and clean code

Planet-PHP - Wed, 22/05/2013 - 13:00
Many people wonder how they can improve the overall readability and cleanliness of their code. It seems impossible to understand exactly how to rewrite code in such a way that makes it clean, easy to understand and simple to work with. But clean code is about a few simple principles, one of which is reducing [...]
Categories: Open Source, PHP Community

MicroOLAP Database Designer for PostgreSQL v1.9.0 released

Postgresql.org - Wed, 22/05/2013 - 02:00

The MicroOLAP team is proud to introduce Database Designer for PostgreSQL v1.9.0, an comprehensive CASE tool with intuitive graphical interface allowing you to

  • build a clear and effective database structure visually,
  • see the complete picture (diagram) representing all the tables, references between them, views, stored procedures and other objects,
  • easily generate a physical database on a server,
  • modify it according to any changes you made to the diagram using fast ALTER statements,
  • import already existing diagram from a server,
  • export diagram to common graphic formats or as SQL script,
  • create detailed printings and reports.
This release introduces internal and architectural improvements. New compiler used as well as new exception tracer implemented. Download

You're welcome to download the Database Designer for PostgreSQL 1.9.0 right now at: http://microolap.com/products/database/postgresql-designer/download/

Feedback

Please don't hesitate to ask any questions or report bugs with our Support Ticketing system available at http://www.microolap.com/support/

Full changelog:
  • [!] New compiler used in development
  • [!] New exception tracer tool used
  • [-] "Designer doesn't restore itself to maximized state after restart" bug fixed
  • [-] "Modify Database ignores output script character case option" bug fixed
  • [-] "Reverse Engineering warns that diagram is not empty even though it clearly is" bug fixed
Categories: PHP Community

MicroOLAP Database Designer for PostgreSQL v1.9.0 released

Postgresql.org - Wed, 22/05/2013 - 02:00

The MicroOLAP team is proud to introduce Database Designer for PostgreSQL v1.9.0, an comprehensive CASE tool with intuitive graphical interface allowing you to

  • build a clear and effective database structure visually,
  • see the complete picture (diagram) representing all the tables, references between them, views, stored procedures and other objects,
  • easily generate a physical database on a server,
  • modify it according to any changes you made to the diagram using fast ALTER statements,
  • import already existing diagram from a server,
  • export diagram to common graphic formats or as SQL script,
  • create detailed printings and reports.
This release introduces internal and architectural improvements. New compiler used as well as new exception tracer implemented. Download

You're welcome to download the Database Designer for PostgreSQL 1.9.0 right now at: http://microolap.com/products/database/postgresql-designer/download/

Feedback

Please don't hesitate to ask any questions or report bugs with our Support Ticketing system available at http://www.microolap.com/support/

Full changelog:
  • [!] New compiler used in development
  • [!] New exception tracer tool used
  • [-] "Designer doesn't restore itself to maximized state after restart" bug fixed
  • [-] "Modify Database ignores output script character case option" bug fixed
  • [-] "Reverse Engineering warns that diagram is not empty even though it clearly is" bug fixed
Categories: PHP Community

Development By The Numbers - Slides

Planet-PHP - Tue, 21/05/2013 - 20:42
Today, I'm doing a talk at DrupalCon Portland 2013 on Static analysis and code metrics. Here are the slides for that talk. When the videos are posted, I'll make a followup post that links to it. Click through for the slides!

Read more »
Categories: Open Source, PHP Community

PHPMaster.com: Understanding HTTP Digest Access Authentication

PHPDeveloper.org - Tue, 21/05/2013 - 19:09

On PHPMaster.com they've posted a new tutorial by Sean Hudgston that helps you understand HTTP digest authentication, a simple way to authenticate a user or script against your application.

Digest Access Authentication is one method that a client and server can use to exchange credentials over HTTP. This method uses a combination of the password and other bits of information to create an MD5 hash which is then sent to the server to authenticate. Sending a hash avoids the problems with sending a password in clear text, a shortfall of Basic Access Authentication.

He starts out by looking at the "basic authentication" mechanism that's built into most web servers and points out that it has a major flaw - sending the username/password in (pretty much) plain text. Digest, on the other hand, uses a MD5 hash created from a few pieces of information including username, realm and request method. The result is sent as a header back to the server that can then be parsed by PHP. He also talks about improving on the basic version of the digest method using the qop, nc, and cnonce optional parameters.

Link: http://phpmaster.com/understanding-http-digest-access-authentication

NetTuts.com: How to Create a PyroCMS Theme

PHPDeveloper.org - Tue, 21/05/2013 - 18:19

On NetTuts.com today there's a new tutorial posted showing you how to create a theme for PyroCMS, an open source, PHP-based content management system with a large user base and community.

Like most content management systems, PyroCMS uses front-end themes. Though PyroCMS themes are built a bit differently than what you might be used to from other systems, they're still quite easy to create. They're so easy, in fact, that very little PHP experience is required to assemble them!

He walks through things like the folder structure of the templates directory and how to get started on a custom "Foo" theme of your own. He covers how to lay out the HTML markup for the theme and how you can use partials for the sections of the site. He briefly touches on using multiple layout files and how to use different layouts shown only to mobile devices.

Link: http://net.tutsplus.com/tutorials/php/how-to-create-a-pyrocms-theme

Gonzalo Ayuso: Google App Engine, PHP and Silex. Setting up a Login Provider

PHPDeveloper.org - Tue, 21/05/2013 - 17:41

Gonzalo Ayuso has a new post to his site today showing how to use the recently released PHP support for the Google App Engine along with Silex to create a login provider.

Last week Google announced the PHP support for Google App Engine (GAE). PHPStorm, the great IDE for PHP development, also announced support for Google App Engine PHP. Because of that now is time to hack a little bit with this new toy. [...] To build a simple Silex application over Google App Engine is pretty straightforward (more info here). Because of that we're going to go a little further. We are going to use the log-in framework provided by GAE to log-in with our Goggle account within our Silex application. In fact we can use the standard OAuth authentication process but Google provides a simple way to use our gmail account.

He includes the code showing what the end result will look like as well as what's needed for the "LoginProvider" class. He also creates an "Auth" class where most of the work is done - creating the login URL, redirecting the user and checking to see if the user is logged in. He's made a screencast of the full process so you can see the authentication flow as its happening.

Link: http://gonzalo123.com/2013/05/20/google-app-engine-php-and-silex-setting-up-a-login-provider

Michelangelo van Dam: Survived php tek 2013

PHPDeveloper.org - Tue, 21/05/2013 - 16:31

If you weren't able to make it to this year's php|tek conference in Chicago, Michaelangelo van Dam has posted a great wrapup of the event and some of the things that happened during the week.

If you were last week in Chicago, you've might felt the city was buzzing PHP all over the place. php[tek] 2013 was taking place at the Sheraton Gateway Suites Chicago O'Hare in Rosemont, just outside of Chicago city. This year it was also the first time Musketeers.me, a php consulting team from the East Coast, was running the show, putting their own signature onto the event. And with great success I might add. A well deserved applause to Eli White, Kevin Bruce, Sandy Smith, Oscar Merida and of course the Beth Tucker Long for their unlocked achievement running a great conference.

He talks about running the unconference for this year's event and one talk that resonated with a lot of people at the conference, Ed Finkler's "Open Sourcing Mental Illness". He also goes through some of the other regular sessions talks he found interesting covering things like security, refactoring, and dealing with distractions during work. He also mentions the hackathon and some of the good work that was done there.

In my experience the best php[tek] ever, and I'm really looking forward to the 2014 edition. If you don't believe me, have a look at the pictures taken at php[tek] 2013. They will tell the story. Link: http://www.dragonbe.com/2013/05/survived-php-tek-2013.html

Community News: Packagist Latest Releases for 05.21.2013

PHPDeveloper.org - Tue, 21/05/2013 - 15:09
Recent releases from the Packagist:

Community News: Latest PECL Releases for 05.21.2013

PHPDeveloper.org - Tue, 21/05/2013 - 14:03
Latest PECL Releases:
  • xhprof 0.9.3 -- Just updating the pecl package to https://github.com/facebook/xhprof/commit/254eb24dcfa763c76c57b472093ebc4b81af2b7d -- Request #16544: Mac port for XHProf (svilen spasov) -- fix #16574: require/require_once not special cased like include/include_once (kannan) -- add a sanity test for sampling mode in xhprof (kannan) -- add support to ignore functions (such as call_user_func) during profiling (mike paleczny) -- fix #16098: suppress notices due to use of FILE_BINARY (kannan) -- add a sanity test for timer (kannan) -- fix for compile error on debian linux (russ)

  • fribidi 1.1 Requires GNU FriBidi version 0.19.1 or later.

  • pq 0.4.0 * Added pqConverterInterface and pqConnection::setConverter() * Added pqResult::desc() and fixed pqStatement::descAsync() * Added serializer for input array params

Symfony Blog: New in Symfony 2.3: Small things matter

PHPDeveloper.org - Mon, 20/05/2013 - 19:23

On the Symfony blog today Fabien Potencier talks about some small things that matter - some of the smaller updates that have been made to the Symfony 2 framework recently that have helped to make it better and more flexible.

Every new Symfony release tries to brings some small but useful improvements. Let's dive into some of them for Symfony 2.3 (in no particular order).

Things in his list include:

  • A text-based output of the exception handling stack trace
  • A default configuration for the Serializer component
  • The ability to run the framework in a production environment in development
  • An update to make debugging configuration parameters easier
  • Conversion process of short controller names
  • Overload generated code in the bundle bootstrapping code

Check out the post for the rest of the changes on his list and check out the RC1 of Symfony 2.3.0 to see some of them in action.

Link: http://symfony.com/blog/new-in-symfony-2-3-small-things-matter
Syndicate content