Logging in Users using Doctrine and Zend_Auth

Original Post. Click here to see the video.

Logging in Users using Doctrine and Zend_Auth

Here’s the second part of my Doctrine / Zend_Auth example. In 15 minutes, we create a logout, login and protected area that’s reliant on the ZC_Auth_Adapter adapter we created in last week’s video. Notice how there’s no code in the IndexController exposing the authentication implementation,

Grab a copy of the project or browse the repository.

Also, a big thank you to ServerGrove for extending their support of Zendcasts for January. ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.


 

php5minutes 2 – Como carregar os arquivos de código para sua aplicação

Esse é o segundo php5minutes e dessa vez falando de como incluir/requerer, o código necessário para que seu software funcione.



Writing a Zend_Auth_Adapter with Doctrine

Original Post. Click here to see the video.

Writing a Zend_Auth_Adapter with Doctrine

I’ve been using Doctrine a lot in my own work, and recently found myself itching to have tighter integration between Zend and Doctrine when it comes to user logins. Luckily, Zend provides a very simple interface with regards to Zend_Auth. This way, it’s easy to decouple your persistence layer (in my case Doctrine) from the authentication layer. I’ve borrowed from Palo Verede’s wonderful article on Doctrine and Zend_Auth and I invite you to check his blog out.

Grab a copy of the project or browse the repository.

Also, a big thank you to ServerGrove for extending their support of Zendcasts for January. ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out (referral). They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.


 

php 5 minutes – 1 – Prepared Statement

Esse é um projeto de podcasting.
Há um tempo que desejo participar de um projeto de podcast ou ter o meu próprio e me faltava ídeia ou oportunidade para começar, até que veio o ano de 2010 e eu vi que em mais dois talvez o mundo acabe e resolvi começar agora antes que a coisa [...]



PHPSPCast #5b: PEAR e PECL – Pêras e Pepinos

O PHPSPCast volta desta vez com um episódio duplo! Convidamos Igor Feghali para nos ajudar a desvendar os mistérios e a motivação do PEAR e PECL as bibliotecas de classes e extensões do PHP. Seguimos em frente agora na segunda parte falando sobre o PECL e suas extensões mais interessantes.

Durante os recados saiba porque 2009 foi otimo e quais os planos do PHPSP para 2010!

Links comentados durante o podcast

Promoção PHPSPCast

O Vencedor da caneca é anunciado durante os recados deste cast, confira!

Escute!

Assine!

Assine o PHPSPCast: http://feeds2.feedburner.com/phpspcast

No iTunes:

Quer assinar o PHPSPCast em seu iTunes? Clique aqui e saiba como assinar pelo iTunes ou fazer o download pelo iPhone/iPod!

Recados!

Elogios, críticas, sugestões, dúvidas ou #fail sobre este episódio? Idéias, temas e dúvidas para o próximo PHPSPCast? Mande email para phpspcast@phpsp.org.br ou um recado de voz para phpspcast@phpsp.org.br pelo Google Talk.

Caching for performance

Speaker: Rob Allen

More, now than ever, websites need fast response times and be able to cope under load. As web pages contain more and more dynamically generated content, the challenge is on for PHP developers to develop efficient caching solutions. This presentation will focus on using caching techniques that can be used in a PHP project to increase the performance of a web site. We will look at a variety of caching techniques, showing practical implementations and before and after statistics. We will also cover the cache storage options available and when you might use one over another. We will also address how to get browsers to cache content for us using HTTP headers.

Episode 72: Groovy Grails Griffon Greatness at CodeMash

I got a chance to catch up with some legendary names from the GR8 community while at CodeMash. Andres Almiray, Dave Klein, Chris Judd and Jim Shingler all gave me a few minutes of their time to talk about the Groovy year behind us and the GR8 year ahead of us.

File Download (29:22 min / 16 MB)

The phparchitect Podcast: oddWeek #001

The phparchitect Podcast: 2009 in Revue

Deep Integration between Zend and Doctrine 1.2

Original Post. Click here to see the video.

Deep Integration between Zend and Doctrine 1.2

There’s been a lot of talk online about finding the best approach for bringing Zend and Doctrine 1.x together. This video is my humble approach of combining some of the learning brought about over the last few weeks on Zendcasts, as well as suggestions from Doctrine developers.

The goal of this video is to show how you leverage the existing resource loading tools in Zend to have a model structure that reflects Zend’s best practices. This video builds on the last Doctrine video, but if you’re familiar with both frameworks, you should be able to follow along. Enjoy!

Grab a copy of the project or browse the repository.

Also, a big thank you to ServerGrove for extending their support of Zendcasts for January. ServerGrove specializes in Zend Framework hosting and they’ve offered a 10% rebate on hosting with coupon code “zc”. If you’re looking for a host, be sure to check them out. They’ve also added an additional coupon for “Mini Hosting” plans, get $2 off by using code “zcmini”.