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

Laravel Podcast:
Episode 32: Adam Wathan Is Strong
Aug 07, 2015 @ 16:55:23

The Laravel podcast, hosted by Matt Stauffer with regular guests Taylor Otwell and Jeffrey Way, has posted their latest episode today - Episode #32: Adam Wathan Is Strong

In this episode, the crew discusses simple code, staying focused, Adam vs. The Hulk, and coding music.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 of the show. If you enjoy it, be sure to subscribe to their feed and follow them on Twitter to get updates on the latest episodes as they're released.

tagged: laravel podcast ep32 adamwathan strong simplicity focus music

Link: http://www.laravelpodcast.com/episodes/15117-episode-32-adam-wathan-is-strong

Full Stack Radio:
10: Type Safety Roundtable with Ryan Tablada and Matt Machuga
Feb 24, 2015 @ 15:15:55

In the latest episode of the Full Stack Radio podcast - episode #10, host Adam Wathan has two guests to talk about programming in a language with dynamic types versus static types.

In this episode, Adam talks with Ryan Tablada and Matt Machuga about the philosophical differences between programming in a statically typed language vs. a dynamically typed language. They talk about things like explicit interfaces vs. duck typing, function calling vs. message passing, and some of the recent RFCs around optional typing in the PHP community.

You can listen to this latest episode either through the in-page audio player or by subscribe to their feed to get the latest episodes as they're released.

tagged: fullstackradio ep10 typesafety strong dynamic language podcast mattmachuga ryantablada

Link: http://fullstackradio.com/episodes/10

Anthony Ferrara:
What's In A Type
Oct 24, 2014 @ 18:55:39

In a new post to his site Anthony Ferrara takes on the topic of typing in PHP, discussing some of the main ideas around the current typing scheme and the discussions being have about potential changes.

There has been a lot of talk about typing in PHP lately. There are a couple of popular proposals for how to clean up PHP's APIs to be simpler. Most of them involve changing PHP's type system at a very fundamental level. So I thought it would be a good idea to talk about that. What goes into a type?

He starts at the highest level, covering what "typing" is in general and some of the tradeoffs that come with being a strongly typed versus weakly typed language. He then gets into PHP's two "semi-independent type systems" - one for objects and one for everything else. He includes some code examples to illustrate and how, for the non-object handling, context means everything for how the types are switched. He also talks about polymorphism, the chaos that could come from scalars becoming objects and a current RFC suggesting the addition of "safe casting" functions to PHP to provide less "magic" when shifting values from one type to another.

tagged: type switching casting rfc proposal function weak strong

Link: http://blog.ircmaxell.com/2014/10/whats-in-type.html

WebTutor.pl:
Strong data typing in PHP, part II: autoboxing and indestructable objects
Apr 14, 2011 @ 17:09:40

In the second part of their series looking at data typing in PHP, the WebTutor blog takes a different approach to supporting strong typing in PHP, using autoboxing and indestructible objects.

In an earlier article on the strong typing I’ve described the typehint mechanism that provides data type enforcement for the values sent to the methods and functions. Unfortunately said implementation does not protect against another problem associated with the dynamic typing of variables: a lack of type enforcement when overwritting value of an existing variable. In order to control the type of data, I decided to introduce to PHP the concept of autoboxing known from other languages such as C# and Java.

He talks briefly about what autoboxing is (wrapping primitive types into objects automatically) and links to a library that can be used to accomplish it. A bit of sample code is included showing how to create an AutoBoxedObject and how to use it in practice on some string values.

tagged: strong data type autoboxing indestructible object

Link:

Matthew Turland's Blog:
The Yin and Yang of Typing
Feb 01, 2008 @ 17:58:00

A little while back Matthew Turland posted about something that some developers moving over to PHP from more strict languages have an issue with - variable typing - and how its evolved in languages over time.

Without a little background in programming languages or computer science in general, it's entirely possible that typing systems are not something that have crossed your mind. I thought I'd take a blog entry to share some of my thoughts on how it’s affecting the creation and evolution of languages.

He walks through history a bit, mentioning C, Java, Python and PHP and how they differ in their default type handling. He especially focuses on the "blurred line" between strong and weak typing and how some if offers special features to the language that uses the method.

tagged: typing strong weak strict dynamic java python c

Link:

ITJungle.com:
System i PHP Drive Going Strong, Zend Says
Oct 03, 2006 @ 12:12:19

From ITJungle.com today, there's a new article that talks to Zend about their effort to get PHP pushed to the System i platform via the Zend Core and the progress it's making.

The push to create a new generation of young PHP programmers and PHP-driven Web applications on the IBM System i is moving forward according to plan, according to Zend Technology, the company commercializing the open source scripting language and providing support and training services. "Things are going phenomenally well," Zend business development vice president Mike Pinette says, giving evidence of that early success. "We're firing on all cylinders."

They go on to talk about other offerings Zend is making available for the platform including their popular Zend Platform package. There's talk of how Zend's effort is spreading (across countries) and their additional focus on the "bread and butter" shops - "manufacturers, distributors, retail chains, banks, and financial institutions that have heavily invested in OS/400 and RPG over the years".

tagged: zend systemi drive strong core studio platform zend systemi drive strong core studio platform

Link:

ITJungle.com:
System i PHP Drive Going Strong, Zend Says
Oct 03, 2006 @ 12:12:19

From ITJungle.com today, there's a new article that talks to Zend about their effort to get PHP pushed to the System i platform via the Zend Core and the progress it's making.

The push to create a new generation of young PHP programmers and PHP-driven Web applications on the IBM System i is moving forward according to plan, according to Zend Technology, the company commercializing the open source scripting language and providing support and training services. "Things are going phenomenally well," Zend business development vice president Mike Pinette says, giving evidence of that early success. "We're firing on all cylinders."

They go on to talk about other offerings Zend is making available for the platform including their popular Zend Platform package. There's talk of how Zend's effort is spreading (across countries) and their additional focus on the "bread and butter" shops - "manufacturers, distributors, retail chains, banks, and financial institutions that have heavily invested in OS/400 and RPG over the years".

tagged: zend systemi drive strong core studio platform zend systemi drive strong core studio platform

Link:

Chris Shiflett's Blog:
PHP Insecurity
Jan 24, 2006 @ 12:34:00

Chris Shiflett's latest post mentions this criticism of PHP's insecurity as made by Andrew van der Stock.

Andrew van der Stock has written a strong criticism of PHP's insecurity. Andrew is a seasoned security expert and a major contributor to OWASP, and he states:

"After writing PHP forum software for three years now, I've come to the conclusion that it is basically impossible for normal programmers to write secure PHP code. It takes far too much effort."

He continues, citing specific areas where he thinks PHP is weak and asserting that "PHP must now mature and take on a proper security architecture."

Chris also mentions that some of the reasons Andrew mentions include register_globals, magic_quotes_gpc, and safe_mode - all due to be removed in the latest PHP version (6). Also, be sure to check out the comments on the post for a good bit more information and discussion...

tagged: insecurity security strong criticism against too much power insecurity security strong criticism against too much power

Link:

Chris Shiflett's Blog:
PHP Insecurity
Jan 24, 2006 @ 12:34:00

Chris Shiflett's latest post mentions this criticism of PHP's insecurity as made by Andrew van der Stock.

Andrew van der Stock has written a strong criticism of PHP's insecurity. Andrew is a seasoned security expert and a major contributor to OWASP, and he states:

"After writing PHP forum software for three years now, I've come to the conclusion that it is basically impossible for normal programmers to write secure PHP code. It takes far too much effort."

He continues, citing specific areas where he thinks PHP is weak and asserting that "PHP must now mature and take on a proper security architecture."

Chris also mentions that some of the reasons Andrew mentions include register_globals, magic_quotes_gpc, and safe_mode - all due to be removed in the latest PHP version (6). Also, be sure to check out the comments on the post for a good bit more information and discussion...

tagged: insecurity security strong criticism against too much power insecurity security strong criticism against too much power

Link:


Trending Topics: