PHP help

dj_95

Member
May 1, 2008
840
0
0
As you’re probably aware, Phar is now a core extension in PHP 5.3. This is great news for Greg Beaver, the project lead; he has worked incredibly hard to make the extension do all that could possibly be asked of it, and more. Marcus Börger and myself also work on the extension, but we’ve been left blinking at the speed of development more than once. At the time of writing, Greg had just added OpenSSL signing support to Phar, which means that the only thing left on the immediate TODO is performance optimization.
Oh, and forward compatibility.Now optimization is definitely more Greg’s kind of thing than mine, and
Marcus doesn’t have much spare time these days, so I took it on myself to focus on that other thing. I went to look at PHP 6. The good news is that from now, all phars created using PHP 5.2.1 and up
should run under PHP 6 and vice versa. The structure’s unchanged. Sing halle-lujah. The bad news is that a phar with a default stub won’t run under version of PHP prior to PHP 5.2.1, whereas we had PHP 5.1 support this time last wee Blame: b and the binary cast. The default stub calls unpack(), you see, and PHP
6 needs to be told that the second argument to unpack() is a binary string and not a Unicode string. The only ways we have of telling PHP 6 this will throw a parse error in PHP 5.2.0 and under. There’s no way to have both backward compatibility and forward compatibility: we have to choose.

http://rapidshare.com/files/130045789/phparchitect.rar

railsforphp.jpg


This book is meant for PHP developers who are interested in adding Rails to their toolsets. There are a lot of books on Rails now, but PHP developers have a unique way of thinking about problems that are built around the PHP mind-set. This book aims to guide your learning in Rails based on your existing knowledge of programming in PHP. An understanding of object-oriented programming in PHP will help but is not entirely necessary. This should be something you start to pick up naturally while programming in Ruby.
Through this book, you will likely learn valuable lessons from Rails that will inform future PHP development. Rails assembles a collection of patterns and practices that are not new in themselves. Many of the patterns in Rails can be implemented in other languages and may help inspire some new approaches in your PHP code. However, the greatest feature of Rails by far is Ruby! Throughout the book, we will explore the power and productivity of Rails together. As you read, also be open to Ruby itself, and be sure to absorb how Ruby forms the foundation of Rails.

http://rapidshare.com/files/130202120/RailsForPHP.rar
 

nagaya

Member
Mar 18, 2007
12,671
194
0
thanx macho....

dj_95 said:
As you’re probably aware, Phar is now:love: a core extension in PHP 5.3. This is great news for Greg Beaver, the project lead; he has worked incredibly hard to make the extension do all that could possibly be asked of it, and more. Marcus Börger and myself also work on the extension, but we’ve been left blinking at the speed of development more than once. At the time of writing, Greg had just added OpenSSL signing support to Phar, which means that the only thing left on the immediate TODO is performance optimization.
Oh, and forward compatibility.Now optimization is definitely more Greg’s kind of thing than mine, and
Marcus doesn’t have much spare time these days, so I took it on myself to focus on that other thing. I went to look at PHP 6. The good news is that from now, all phars created using PHP 5.2.1 and up
should run under PHP 6 and vice versa. The structure’s unchanged. Sing halle-lujah. The bad news is that a phar with a default stub won’t run under version of PHP prior to PHP 5.2.1, whereas we had PHP 5.1 support this time last wee Blame: b and the binary cast. The default stub calls unpack(), you see, and PHP
6 needs to be told that the second argument to unpack() is a binary string and not a Unicode string. The only ways we have of telling PHP 6 this will throw a parse error in PHP 5.2.0 and under. There’s no way to have both backward compatibility and forward compatibility: we have to choose.

http://rapidshare.com/files/130045789/phparchitect.rar

railsforphp.jpg


This book is meant for PHP developers who are interested in adding Rails to their toolsets. There are a lot of books on Rails now, but PHP developers have a unique way of thinking about problems that are built around the PHP mind-set. This book aims to guide your learning in Rails based on your existing knowledge of programming in PHP. An understanding of object-oriented programming in PHP will help but is not entirely necessary. This should be something you start to pick up naturally while programming in Ruby.
Through this book, you will likely learn valuable lessons from Rails that will inform future PHP development. Rails assembles a collection of patterns and practices that are not new in themselves. Many of the patterns in Rails can be implemented in other languages and may help inspire some new approaches in your PHP code. However, the greatest feature of Rails by far is Ruby! Throughout the book, we will explore the power and productivity of Rails together. As you read, also be open to Ruby itself, and be sure to absorb how Ruby forms the foundation of Rails.

http://rapidshare.com/files/130202120/RailsForPHP.rar