<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6653809396638656863</id><updated>2024-10-24T11:47:22.897-07:00</updated><category term="symfony"/><category term="curso symfony"/><category term="Ajax"/><category term="exemplo"/><category term="tutorial"/><category term="configuração yml"/><category term="Outros"/><category term="banco de dados"/><category term="curso mysql"/><category term="curso php"/><category term="doctrine"/><category term="widgets"/><category term="BI"/><category term="Data Object"/><category term="Introdução ao Symfony"/><category term="Netbenas"/><category term="PDO"/><category term="PHP Avançado"/><category term="arquivo de tradução"/><category term="business Inteligence"/><category term="clean"/><category term="dafault_culture"/><category term="debug na produção"/><category term="filtro"/><category term="form"/><category term="format_date"/><category term="generator"/><category term="helper"/><category term="personalizar todos os form"/><category term="processForm"/><category term="referencia"/><category term="referencia symfony"/><category term="remover"/><category term="remover módulos"/><category term="sfWidgetFormDate"/><category term="sfWidgetFormDoctrineChoice"/><category term="use_helper(&quot;Javascript&quot;)"/><title type='text'>Programação avançada PHP - SYMFONY</title><subtitle type='html'>Dicas php, symfony, oracle 10g, mysql e Db4o.&#xa;Cursos práticos e Tutoriais.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>32</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-2008861482247660147</id><published>2012-02-26T05:32:00.001-08:00</published><updated>2012-02-26T05:33:55.898-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="banco de dados"/><category scheme="http://www.blogger.com/atom/ns#" term="configuração yml"/><category scheme="http://www.blogger.com/atom/ns#" term="doctrine"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Conectar a duas Bases de Dados Symfony (BUG)</title><content type='html'>Bom, pessoal passado certo tempo sem publicar nada ( muito trabalho ), peço desculpa a todos que visitam meu blog, mas esta postagem tenho certeza que é de muita valia a todos que utilizam o symfony 1.4, no 2.0, não verifiquei se este bug também existe.&lt;br /&gt;
Esta postagem é para o bom funcionamento do post:&amp;nbsp;&lt;a href=&quot;http://fabriciokerber.blogspot.com/2011/07/conectar-duas-bases-de-dados-symfony.html&quot; target=&quot;_blank&quot;&gt;Conectar a duas Bases de Dados Symfony&lt;/a&gt;;&lt;br /&gt;
Quado se utiliza de métodos de manipulação de dados normais das classes geradas pelo symfony tudo funciona corretamente exemplo: &amp;nbsp; $obj-&amp;gt;save(); irá salvar em sua base especificada no schema.yml.&lt;br /&gt;
O Bug acontece quando acessamos o Doctrine diretamente, desse modo ele não acessa as nossas configurações symfony (ex:databases..yml) e acaba utilizando a conexão atual.&lt;br /&gt;
Exemplo de médoto Doctrine:&lt;br /&gt;
&lt;br /&gt;
$lg = Doctrine::getTable(&#39;Logradouro&#39;)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;-&amp;gt;createQuery()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;addWhere(&#39;cep = ?&#39;, &#39;85501030&#39;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;fetchOne();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Para correção disto vá até o arquivo:&amp;nbsp;lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Core.php&lt;br /&gt;
&lt;br /&gt;
e altere o seguinte método para esta forma:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;public static function modelsAutoload($className)
    {
        if (class_exists($className, false) || interface_exists($className, false)) {
            return false;
        }
        //LINHA ADICIONADA AO MÉDOTO PADRÃO
        sfAutoload::getInstance()-&amp;gt;autoload($className);&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;.&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;.&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;.&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;Bom pessoal é isso ae!!!&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;Abraço a todos.&lt;/pre&gt;
&lt;pre style=&quot;background-color: #fafafa; font-size: 12px;&quot;&gt;Lembrando que para qualquer dúvida favor enviar no email: fabriciokerber@gmail.com&lt;/pre&gt;
&lt;br /&gt;
&lt;div id=&quot;-chrome-auto-translate-plugin-dialog&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; display: none; left: 0px; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; opacity: 1 !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; text-align: left !important; top: 0px; z-index: 999999 !important;&quot;&gt;
&lt;div style=&quot;-webkit-border-radius: 10px !important; background-color: #363636 !important; background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #000), color-stop(50%, #363636), color-stop(100%, #000)); border-color: #000000 !important; border-width: 0px !important; color: #fafafa !important; font-size: 16px !important; max-width: 300px !important; opacity: 0.8 !important; overflow: visible !important; padding: 8px !important; text-align: left !important; z-index: 999999 !important;&quot;&gt;
&lt;div class=&quot;translate&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;additional&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;img onclick=&quot;document.location.href=&#39;http://translate.google.com/&#39;;&quot; src=&quot;http://www.google.com/uds/css/small-logo.png&quot; style=&quot;-webkit-border-radius: 20px; background-color: rgba(200, 200, 200, 0.3) !important; cursor: pointer !important; margin: 0 !important; padding: 3px 5px 0 !important; position: absolute !important; right: 1px !important; top: -20px !important; z-index: -1 !important;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/2008861482247660147/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2012/02/conectar-duas-bases-de-dados-symfony.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/2008861482247660147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/2008861482247660147'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2012/02/conectar-duas-bases-de-dados-symfony.html' title='Conectar a duas Bases de Dados Symfony (BUG)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-9053721879586996316</id><published>2011-09-15T05:32:00.000-07:00</published><updated>2011-09-15T05:52:59.430-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Mini Curso Symfony Tecsul 2011</title><content type='html'>Olá pessoal, para quem fez o mini curso, e também para quem não fez, segue o vídeo do que foi feito.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;600&#39; height=&#39;465&#39; src=&#39;https://www.youtube.com/embed/XKAEwKpBagw?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Segue também o rar do projeto até onde este vídeo vai, rodando 100%.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;http://www.webat.com.br/minicurso2011/clientes.rar&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Abraço a todos.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/9053721879586996316/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/09/mini-curso-symfony-tecsul-2011.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/9053721879586996316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/9053721879586996316'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/09/mini-curso-symfony-tecsul-2011.html' title='Mini Curso Symfony Tecsul 2011'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-4945993527426896977</id><published>2011-07-25T12:29:00.000-07:00</published><updated>2011-07-25T12:38:38.883-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="banco de dados"/><category scheme="http://www.blogger.com/atom/ns#" term="configuração yml"/><category scheme="http://www.blogger.com/atom/ns#" term="doctrine"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Conectar a duas Bases de Dados Symfony</title><content type='html'>Ola pessoal, peço desculpa aos visitantes por ficar um tempo sem postar, mas o trabalho ta puxado.&lt;br /&gt;
Mas vamos ao que interessa.&lt;br /&gt;
&lt;br /&gt;
Verifiquei que existem muitas pessoas consultando referencias sobre como conectar a dois ou mais bancos simultâneos com o Symfony, então vai lá um exemplo:&lt;br /&gt;
&lt;br /&gt;
No arquivo config/databases.yml você deve colocar as configurações de seus bancos como no exemplo abaixo.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
all:&lt;br /&gt;
&amp;nbsp; auxiliar:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; class: sfDoctrineDatabase&lt;br /&gt;
&amp;nbsp; &amp;nbsp; param:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; dsn: &#39;mysql:host=localhost;dbname=banco1&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; username: root&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; password: null&lt;br /&gt;
&amp;nbsp; principal:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; class: sfDoctrineDatabase&lt;br /&gt;
&amp;nbsp; &amp;nbsp; param:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; dsn: &#39;mysql:host=localhost;dbname=banco2&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; username: root&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; password: null&lt;br /&gt;
&lt;br /&gt;
OBS: A conexão que ficar por ultimo no caso &quot;principal&quot; é levada como base para plugins que necessitam conectar no banco como por exemplo o sfDoctrineGuardPlugin.&lt;br /&gt;
&lt;br /&gt;
Pronto já está configurado a conexão, agora vamos configurar&amp;nbsp;as classes de modelo.&lt;br /&gt;
Para uma configuração automática abra o arquivo config/doctrine/schema.yml&lt;br /&gt;
&lt;br /&gt;
E para cada classe existe um atributo chamado connection: &amp;nbsp;que seguindo o exemplo de configuração acima segue o exmplo abaixo:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cep:&lt;br /&gt;
&amp;nbsp; connection: auxiliar&lt;br /&gt;
&amp;nbsp; tableName: cep&lt;br /&gt;
&amp;nbsp; columns:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; id:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; type: string(10)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; fixed: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; primary: true&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; notnull: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; autoincrement: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; rua:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; type: blob()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; fixed: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; primary: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; notnull: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; autoincrement: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; bairro:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; type: blob()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; fixed: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; primary: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; notnull: false&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; autoincrement: false &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Pessoa:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; connection: principal&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; tableName: pessoal&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; columns:&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; id:&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type: integer(10)&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fixed: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; primary: true&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; notnull: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; autoincrement: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; nome:&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type: blob()&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fixed: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; primary: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; notnull: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; autoincrement: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; idade:&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type: integer(3)&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fixed: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; unsigned: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; primary: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; notnull: false&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; autoincrement: false &amp;nbsp;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
e assim por diante, cada classe acessando seu banco.&lt;br /&gt;
&lt;br /&gt;
Para deixar rodando em seu sistema é necessário limpar o cache &amp;nbsp;php symfony cc e depois doctrine:build-model.&lt;br /&gt;
&lt;br /&gt;
Abraço a todos.</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/4945993527426896977/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/07/conectar-duas-bases-de-dados-symfony.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/4945993527426896977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/4945993527426896977'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/07/conectar-duas-bases-de-dados-symfony.html' title='Conectar a duas Bases de Dados Symfony'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-3392792580451427105</id><published>2011-05-10T11:17:00.000-07:00</published><updated>2011-05-16T06:44:08.480-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="curso mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="curso php"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><title type='text'>Curso On-line PHP OO, MYSQL e Symfony</title><content type='html'>Ola pessoal, contagem regressiva para o curso.&lt;br /&gt;
Abaixo seguem mais alguns detalhes:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;O curso terá uma duração de 40h (considerado um curso longo)&lt;/li&gt;
&lt;li&gt;A expectativa para o término do curso será de 4 meses ( dependendo da minha disponibilidade podemos intensificar para diminuir este período)&lt;/li&gt;
&lt;li&gt;Ao final do curso você estará apto para desenvolver uma aplicação WEB com todos os conceitos de banco de dados, orientação a objeto e o framework Symfony&lt;/li&gt;
&lt;li&gt;Pelo numero de alunos inscritos até o momento a parcela está em 4 x R$ 50,00&lt;/li&gt;
&lt;li&gt;Após o término deste estarei disponível para dar-lhes suporte em seus desenvolvimentos.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;Abraço a todos.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;Obs:&lt;/b&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;todos os interessados deveram encaminhar um e-mail para fabriciokerber@gmail.com com o título: CURSO PHP&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;com os dados [nome completo, cpf, rg, email, telefone, &amp;nbsp;endereço ] e também quais conhecimentos já possui de programação&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/3392792580451427105/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/05/curso-on-line-php-oo-mysql-e-symfony.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/3392792580451427105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/3392792580451427105'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/05/curso-on-line-php-oo-mysql-e-symfony.html' title='Curso On-line PHP OO, MYSQL e Symfony'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-4553457961605344072</id><published>2011-04-25T05:58:00.000-07:00</published><updated>2011-04-25T05:58:49.958-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="curso mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="curso php"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><title type='text'>Curso On-line PHP OO, MYSQL e Symfony</title><content type='html'>Bom dia pessoal!&amp;nbsp;&lt;div&gt;Devido a várias solicitações, estou modelando um curso que irei ministrar on-line através de vídeo-aulas ao vivo.&lt;/div&gt;&lt;div&gt;Sendo assim peço a todos que tiverem interesse em enviar um e-mail para fabriciokerber@gmail.com&lt;/div&gt;&lt;div&gt;A idéia do curso será a seguinte:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;Introdução ao PHP com Orientação a Objeto;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;Noções Mysql;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;E por último Utilização do Symfony.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;Neste curso por levar um tempo para ministrá-lo terá um custo, mas com certeza após concluí-lo, você será capaz de criar aplicações web com agilidade e qualidade.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;O tempo previsto para a conclusão será de 4 meses, mas este tempo pode ser reduzido dependendo do número de hora/aula semanal.&lt;/div&gt;&lt;div&gt;A previsão para início do curso será 01/06/2011 ou antes caso feche o número de alunos para cobrir meus custos.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Abraço a todos.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/4553457961605344072/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-on-line-php-oo-mysql-e-symfony.html#comment-form' title='5 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/4553457961605344072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/4553457961605344072'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-on-line-php-oo-mysql-e-symfony.html' title='Curso On-line PHP OO, MYSQL e Symfony'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-1006374243160300993</id><published>2011-04-08T06:14:00.000-07:00</published><updated>2011-04-08T06:15:02.168-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 4</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;600&#39; height=&#39;400&#39; src=&#39;https://www.youtube.com/embed/dY-aiDZSgCo?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Obs: esta aula foi dividida em quatro vídeos por motivo de tempo limite do youtube, o início está nesta mesma aula parte 1, esta é a parte 4.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Instalando os plugins Jquery e AdminDash&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;A minha meta é fazer o mais avançado possível, mas dependendo da colaboração de todos, podemos ir além.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;Software Livre e Cursos Gratuitos são muito bons, mas tudo tem um custo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Abraço a todos e até a próxima.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/1006374243160300993/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um_4322.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/1006374243160300993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/1006374243160300993'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um_4322.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-9178933316516973343</id><published>2011-04-08T06:12:00.000-07:00</published><updated>2011-04-08T06:14:54.258-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 3</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;600&#39; height=&#39;400&#39; src=&#39;https://www.youtube.com/embed/Kb8t-MwPSgg?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Obs: esta aula foi dividida em quatro vídeos por motivo de tempo limite do youtube, o início está nesta mesma aula parte 1, esta é a parte 3.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Instalando os plugins Jquery e AdminDash&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;A minha meta é fazer o mais avançado possível, mas dependendo da colaboração de todos, podemos ir além.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;Software Livre e Cursos Gratuitos são muito bons, mas tudo tem um custo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Abraço a todos e até a próxima.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/9178933316516973343/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um_2778.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/9178933316516973343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/9178933316516973343'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um_2778.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-7041623006598818256</id><published>2011-04-08T06:09:00.000-07:00</published><updated>2011-04-08T06:14:44.722-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 2</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;600&#39; height=&#39;400&#39; src=&#39;https://www.youtube.com/embed/WSWsy97QSrE?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Obs: esta aula foi dividida em quatro vídeos por motivo de tempo limite do youtube, o início está nesta mesma aula parte 1, esta é a parte 2.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Instalando um plugin auxiliar para auditoria e configurando as actions globais para funcionara em todos os módulos.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;A minha meta é fazer o mais avançado possível, mas dependendo da colaboração de todos, podemos ir além.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;Software Livre e Cursos Gratuitos são muito bons, mas tudo tem um custo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Abraço a todos e até a próxima.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/7041623006598818256/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um_08.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/7041623006598818256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/7041623006598818256'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um_08.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-2693431924240578565</id><published>2011-04-08T06:06:00.000-07:00</published><updated>2011-04-08T06:14:32.831-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 1</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;600&#39; height=&#39;400&#39; src=&#39;https://www.youtube.com/embed/BkuiDk-xjDE?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Obs: esta aula foi dividida em quatro vídeos por motivo de tempo limite do youtube, este é o início da aula.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Instalando e configurando o sfDoctrineGuardPlugin&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;A minha meta é fazer o mais avançado possível, mas dependendo da colaboração de todos, podemos ir além.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;Software Livre e Cursos Gratuitos são muito bons, mas tudo tem um custo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Abraço a todos e até a próxima.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/2693431924240578565/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um.html#comment-form' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/2693431924240578565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/2693431924240578565'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/04/curso-pratico-symfony-14-criando-um.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 4 - parte 1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-6539092528884057029</id><published>2011-03-21T10:08:00.000-07:00</published><updated>2011-04-12T07:04:16.016-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sfWidgetFormDate"/><category scheme="http://www.blogger.com/atom/ns#" term="widgets"/><title type='text'>Parâmetro para sfWidgetFormDate</title><content type='html'>Pessoal o código abaixo é um exemplo para criar um campo referente a data de nascimento de uma pessoa, mas o importante é a forma dos parâmetros, pois o sfWidgetFormDate vem por padrão com 10 anos para seleção e para este caso não seria o suficiente.&lt;br /&gt;
Estou utilizando o $this pois este código deve ser escrito dentro da classe Form exemplo lib/form/ClienteForm.class.php&lt;br /&gt;
&lt;br /&gt;
$years = range(1900, date(&#39;Y&#39;));&lt;br /&gt;
$this-&amp;gt;widgetSchema[&#39;data_nascimento&#39;] = new sfWidgetFormDate(&lt;br /&gt;
array(&lt;br /&gt;
&#39;format&#39; =&amp;gt; &#39;%day% / %month% / %year%&#39;, &lt;br /&gt;
&#39;years&#39; =&amp;gt; array_combine($years, $years)&lt;br /&gt;
)&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
Existem também outros parâmetros úteis mas meu exemplo é este.&lt;br /&gt;
&lt;br /&gt;
Abraço a todos.</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/6539092528884057029/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/03/parametro-para-sfwidgetformdate.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/6539092528884057029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/6539092528884057029'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/03/parametro-para-sfwidgetformdate.html' title='Parâmetro para sfWidgetFormDate'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-5220099637831033939</id><published>2011-03-10T17:54:00.000-08:00</published><updated>2011-03-10T17:54:21.735-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 3 - parte 2</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;620&#39; height=&#39;400&#39; src=&#39;https://www.youtube.com/embed/gPrCqgPsCrk?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;Obs: esta aula foi dividida em dois vídeos por motivo de tempo limite do youtube, o início está nesta mesma aula parte 1.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;A minha meta é fazer o mais avançado possível, mas dependendo da colaboração de todos, podemos ir além.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;i&gt;Software Livre e Cursos Gratuitos são muito bons, mas tudo tem um custo&lt;/i&gt;.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Abraço a todos e até a próxima.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/5220099637831033939/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/03/curso-pratico-symfony-14-criando-um_10.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/5220099637831033939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/5220099637831033939'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/03/curso-pratico-symfony-14-criando-um_10.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 3 - parte 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-1025659498918185045</id><published>2011-03-10T17:49:00.000-08:00</published><updated>2011-03-10T17:51:28.295-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 3 - parte 1</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;620&#39; height=&#39;400&#39; src=&#39;https://www.youtube.com/embed/TEu1E0sK5fQ?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;Obs: esta aula foi dividida em dois vídeos por motivo de tempo limite do youtube, a sequência está nesta mesma aula parte 2.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;A minha meta é fazer o mais avançado possível, mas dependendo da colaboração de todos, podemos ir além.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;&lt;i&gt;Software Livre e Cursos Gratuitos são muito bons, mas tudo tem um custo&lt;/i&gt;.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Abraço a todos e até a próxima.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/1025659498918185045/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/03/curso-pratico-symfony-14-criando-um.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/1025659498918185045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/1025659498918185045'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/03/curso-pratico-symfony-14-criando-um.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 3 - parte 1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-3404844887138234899</id><published>2011-02-24T05:19:00.000-08:00</published><updated>2011-02-24T05:19:10.218-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Outros"/><title type='text'>Barulho de Chuva</title><content type='html'>Olá pessoal, acredito que todos passa pelo mesmo problema de trabalhar até tarde,&amp;nbsp;dormir&amp;nbsp;mal.&lt;br /&gt;
Segue um link aí que talvez possa ajudar&amp;nbsp;&lt;a href=&quot;http://www.rainymood.com/&quot;&gt;http://www.rainymood.com/&lt;/a&gt;&lt;br /&gt;
É uma chuva muito boa para dormir, vamos fazer com que as nossas 4 horas de sono diárias valham a pena.&lt;br /&gt;
&lt;br /&gt;
Abraço a todos.</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/3404844887138234899/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/barulho-de-chuva.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/3404844887138234899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/3404844887138234899'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/barulho-de-chuva.html' title='Barulho de Chuva'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-8381598126173974256</id><published>2011-02-18T07:52:00.000-08:00</published><updated>2011-03-22T05:48:51.596-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="filtro"/><category scheme="http://www.blogger.com/atom/ns#" term="sfWidgetFormDoctrineChoice"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="widgets"/><title type='text'>Filtrar dados do componente sfWidgetFormDoctrineChoice</title><content type='html'>&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;Uma dificuldade que sempre surge, é a de filtrar dados em um selectbox ou choice, você pode fazer alguma coisa depois de montado, mas também é possível passar uma query para um filtro direto na consulta ao banco.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;Segue abaixo um exemplo.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;Exemplo:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;$ativo = true;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;$q = Doctrine_Query::create()&lt;br /&gt;
-&amp;gt;from(&#39;Categoria a&#39;)&lt;br /&gt;
-&amp;gt;orderBy(&#39;a.descricao&#39;)&lt;br /&gt;
-&amp;gt;addWhere(&#39;a.ativo = ?&#39;, $ativo);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;$this-&amp;gt;widgetShema[&#39;categoria_id&#39;] new sfWidgetFormDoctrineChoice(&lt;br /&gt;
&amp;nbsp; array(&#39;label&#39; =&amp;gt; &quot;Categoria&quot;,&lt;br /&gt;
&amp;nbsp;&#39;model&#39; =&amp;gt; $this-&amp;gt;getRelatedModelName(&#39;Categoria&#39;),&lt;br /&gt;
&amp;nbsp;&#39;add_empty&#39; =&amp;gt; &#39;...selecione uam opção...&#39;, &#39;query&#39; =&amp;gt; $q&lt;br /&gt;
&amp;nbsp; )&lt;br /&gt;
);&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;fixed_width&quot; style=&quot;font-family: Courier, Monospaced; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;fixed_width&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;o&amp;nbsp;item&amp;nbsp;orderBy da nossa query também pode ser solicitado direto no componente( adicionando no array de atributos o atributo order_by=&amp;gt;array(campo1, campo2)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;), mas como já estamos solicitando uma query específica, já trazemos ordenado da maneira que desejamos.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;Abraço a todos.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/8381598126173974256/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/filtrar-dados-do-componente.html#comment-form' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8381598126173974256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8381598126173974256'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/filtrar-dados-do-componente.html' title='Filtrar dados do componente sfWidgetFormDoctrineChoice'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-436964641805762771</id><published>2011-02-17T17:05:00.000-08:00</published><updated>2011-02-18T05:21:47.476-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 2</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;620&#39; height=&#39;400&#39; src=&#39;https://www.youtube.com/embed/TxUF9-17pN0?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;A minha meta é fazer o mais avançado possível, mas dependendo da colaboração de todos, podemos ir além.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 11px; text-align: left;&quot;&gt;&lt;i&gt;Software Livre e Cursos Gratuitos são muito bons, mas tudo tem um custo&lt;/i&gt;.&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;Abraço a todos e até a próxima.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/436964641805762771/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/curso-pratico-symfony-14-criando-um_17.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/436964641805762771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/436964641805762771'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/curso-pratico-symfony-14-criando-um_17.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-5373239123923773441</id><published>2011-02-10T04:14:00.000-08:00</published><updated>2011-02-18T07:53:39.791-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="format_date"/><category scheme="http://www.blogger.com/atom/ns#" term="helper"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Symfony Formatar datas</title><content type='html'>Bom dia pessoal vai aí uma dica para formatar datas&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;format_date(&#39;2011-02-08&#39;, &#39;EEE, dd MMM yyyy&#39;)&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;isso retornaria ter, 08 fev 2011&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;as opções de formatação segue abaixo com a parte do helper que trata o parâmetro:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;switch ($pattern)
    {
      case &#39;d&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;ShortDatePattern;
        break;
      case &#39;D&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;LongDatePattern;
        break;
      case &#39;p&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;MediumDatePattern;
        break;
      case &#39;P&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;FullDatePattern;
        break;
      case &#39;t&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;ShortTimePattern;
        break;
      case &#39;T&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;LongTimePattern;
        break;
      case &#39;q&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;MediumTimePattern;
        break;
      case &#39;Q&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;FullTimePattern;
        break;
      case &#39;f&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;formatDateTime($this-&amp;gt;formatInfo-&amp;gt;LongDatePattern, $this-&amp;gt;formatInfo-&amp;gt;ShortTimePattern);
        break;
      case &#39;F&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;formatDateTime($this-&amp;gt;formatInfo-&amp;gt;LongDatePattern, $this-&amp;gt;formatInfo-&amp;gt;LongTimePattern);
        break;
      case &#39;g&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;formatDateTime($this-&amp;gt;formatInfo-&amp;gt;ShortDatePattern, $this-&amp;gt;formatInfo-&amp;gt;ShortTimePattern);
        break;
      case &#39;G&#39;:
        return $this-&amp;gt;formatInfo-&amp;gt;formatDateTime($this-&amp;gt;formatInfo-&amp;gt;ShortDatePattern, $this-&amp;gt;formatInfo-&amp;gt;LongTimePattern);
        break;
      case &#39;i&#39;:
        return &#39;yyyy-MM-dd&#39;;
        break;
      case &#39;I&#39;:
        return &#39;yyyy-MM-dd HH:mm:ss&#39;;
        break;
      case &#39;M&#39;:
      case &#39;m&#39;:
        return &#39;MMMM dd&#39;;
        break;
      case &#39;R&#39;:
      case &#39;r&#39;:
        return &#39;EEE, dd MMM yyyy HH:mm:ss&#39;;
        break;
      case &#39;s&#39;:
        return &#39;yyyy-MM-ddTHH:mm:ss&#39;;
        break;
      case &#39;u&#39;:
        return &#39;yyyy-MM-dd HH:mm:ss z&#39;;
        break;
      case &#39;U&#39;:
        return &#39;EEEE dd MMMM yyyy HH:mm:ss&#39;;
        break;
      case &#39;Y&#39;:
      case &#39;y&#39;:
        return &#39;yyyy MMMM&#39;;
        break;
      default :
        return $pattern;&lt;/pre&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: fixed-width, monospace; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/5373239123923773441/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/symfony-formatar-datas.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/5373239123923773441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/5373239123923773441'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/symfony-formatar-datas.html' title='Symfony Formatar datas'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-8919997352030044850</id><published>2011-02-07T16:48:00.000-08:00</published><updated>2011-02-07T16:48:57.167-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 1</title><content type='html'>Olá pessoal vamos começar com o nosso curso prático de Symfony 1.4.&lt;br /&gt;
Bom inicialmente recomendo darem uma lida em &lt;a href=&quot;http://fabriciokerber.blogspot.com/2010/08/symfony-framework-de-alta-produtividade.html&quot;&gt;Symfony framework de alta produtividade&lt;/a&gt;.&lt;br /&gt;
&lt;b&gt;O Negócio&lt;/b&gt;&lt;br /&gt;
Iremos criar um cadastro de clientes contendo&lt;br /&gt;
Entidade Cliente - entidade para o cadastro de clientes&lt;br /&gt;
Atributos:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; id: integer auto increnmentável&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; nome: varchar(200)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; data_nascimento: date()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; cpf: varchar(20)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; rg: varchar(20)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;telefone_fixo: varchar(15)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;telefone_celular: varchar(15)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;cep: varchar(15)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; endereco: varchar(200)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; bairro: varchar(100)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; cidade: varchar(100)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;estado: varchar(2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;referencias: blob()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;outras_informacoes: blob()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;flag_ativo: boolean&lt;br /&gt;
&lt;br /&gt;
Entidade Contato - entidade para registro de atendimentos&lt;br /&gt;
Atributos&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; id: integer&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;cliente_id: integer&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;titulo: varchar(200)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;descricao: blob()&lt;br /&gt;
&lt;br /&gt;
Em ambas as entidades adicionaremos posteriormente &amp;nbsp;alguns campos para auditoria.&lt;br /&gt;
&lt;br /&gt;
Links para baixar as ferramentas a serem utilizadas:&lt;br /&gt;
Ide Netbeans 6.8 ou superior&lt;br /&gt;
&lt;a href=&quot;http://netbeans.org/community/releases/70/&quot;&gt;http://netbeans.org/community/releases/70/&lt;/a&gt;&lt;br /&gt;
Modelador ER DB Designer 4&lt;br /&gt;
&lt;a href=&quot;http://fabforce.net/downloadfile.php?iddownloadfile=1&quot;&gt;http://fabforce.net/downloadfile.php?iddownloadfile=1&lt;/a&gt;&lt;br /&gt;
Servidor Xammp Ultima Versão&lt;br /&gt;
&lt;a href=&quot;http://www.apachefriends.org/pt_br/xampp-windows.html#2287&quot;&gt;http://www.apachefriends.org/pt_br/xampp-windows.html#2287&lt;/a&gt;&lt;br /&gt;
Symfony 1.4 - baixem a versão 1.4&lt;br /&gt;
&lt;a href=&quot;http://www.symfony-project.org/installation&quot;&gt;http://www.symfony-project.org/installation&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Bom downloads &amp;nbsp; ae pessoal e até a próxima aula, ainda esta semana.</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/8919997352030044850/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/curso-pratico-symfony-14-criando-um.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8919997352030044850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8919997352030044850'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/curso-pratico-symfony-14-criando-um.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes - Aula 1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-8747395072751009462</id><published>2011-02-02T05:25:00.000-08:00</published><updated>2011-02-02T05:25:30.816-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="configuração yml"/><category scheme="http://www.blogger.com/atom/ns#" term="referencia"/><category scheme="http://www.blogger.com/atom/ns#" term="referencia symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Referencia para o Symfony</title><content type='html'>Pessoal para quem sofre com as configurações dos arquivos yaml (yml)&lt;br /&gt;
segue este link:&amp;nbsp;&lt;a href=&quot;http://www.symfonyreference.com/&quot;&gt;http://www.symfonyreference.com/&lt;/a&gt;&lt;br /&gt;
muito bom e completo.&lt;br /&gt;
&lt;br /&gt;
Abraço a todos.</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/8747395072751009462/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/referencia-para-o-symfony.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8747395072751009462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8747395072751009462'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/referencia-para-o-symfony.html' title='Referencia para o Symfony'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-2071442141426773382</id><published>2011-02-01T08:16:00.000-08:00</published><updated>2011-02-01T08:16:48.475-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="curso symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="exemplo"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>Curso Prático Symfony 1.4 - Criando um cadastro de clientes</title><content type='html'>Pessoal gostaria de avisar aos visitantes deste blog que estarei iniciando a partir da semana que vem um curso-tutorial para o symfony 1.4 - Criando um Cadastro de Clientes, com ajax jQuey, mysql, doctrine, sfGuardDoctrine, e outros plugins que venham a ser utilizados.&lt;br /&gt;
&lt;br /&gt;
Aviso: &amp;nbsp;todas a dúvidas que surgirem referente ao projeto serão respondidas.&lt;br /&gt;
&lt;br /&gt;
Ao final do curso você estará apto a desenvolver uma aplicação web com um dos melhores frameworks da atualidade, e perceberá o seu desempenho.&lt;br /&gt;
Para a modelagem do BD utilizarei o DBDesigner, mas arquivos referentes a configurações e o sql de geração do banco disponibilizarei online.&lt;br /&gt;
Para o desenvolvimento utilizarei a IDE NetBeans 7.0 que já tem suporte ao php e Symfony.&lt;br /&gt;
&lt;br /&gt;
Abraço a todos</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/2071442141426773382/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/tutorial-basico-criando-um-cadastro-de.html#comment-form' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/2071442141426773382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/2071442141426773382'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/02/tutorial-basico-criando-um-cadastro-de.html' title='Curso Prático Symfony 1.4 - Criando um cadastro de clientes'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-6025427074048479034</id><published>2011-01-04T08:56:00.001-08:00</published><updated>2011-01-04T08:56:00.207-08:00</updated><title type='text'>Symfony 2.0</title><content type='html'>Palestra do Fabien.&lt;br /&gt;
Muito interessante os detalhes (symfony com phpBB), e para quem quiser seguir no junto com este link no youtube há outros vídeos referentes ao mesmo assunto.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.youtube.com/watch?v=VuNFof59A7M&quot;&gt;http://www.youtube.com/watch?v=VuNFof59A7M&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Abraço a todos.</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/6025427074048479034/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/01/symfony-20.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/6025427074048479034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/6025427074048479034'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/01/symfony-20.html' title='Symfony 2.0'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-503935546960279203</id><published>2011-01-04T03:15:00.000-08:00</published><updated>2011-01-04T03:15:10.306-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BI"/><category scheme="http://www.blogger.com/atom/ns#" term="business Inteligence"/><title type='text'>BI (business intelligence)</title><content type='html'>Pessoal segue abaixo um bom vídeo sobre BI.&lt;br /&gt;
&lt;br /&gt;
&lt;object height=&quot;390&quot; width=&quot;640&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/GfL9JeVaJa4&amp;hl=en_US&amp;feature=player_embedded&amp;version=3&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/GfL9JeVaJa4&amp;hl=en_US&amp;feature=player_embedded&amp;version=3&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; allowScriptAccess=&quot;always&quot; width=&quot;640&quot; height=&quot;390&quot;&gt;&lt;/embed&gt;&lt;/object&gt;]&lt;br /&gt;
Abraço a todos!!!!</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/503935546960279203/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2011/01/bi-business-intelligence.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/503935546960279203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/503935546960279203'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2011/01/bi-business-intelligence.html' title='BI (business intelligence)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-8482843461838909724</id><published>2010-12-31T04:34:00.000-08:00</published><updated>2011-02-24T05:19:48.328-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Outros"/><title type='text'>Video muito legal</title><content type='html'>Para quem já assistiu matrix.&lt;br /&gt;
&lt;br /&gt;
http://www.youtube.com/watch?v=yX8yrOAjfKM&amp;amp;feature=fvw&lt;br /&gt;
&lt;br /&gt;
Nada a ver com programação mas é legallll.&lt;br /&gt;
Abraços pessoal e feliz 2011 a todos!!!!</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/8482843461838909724/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2010/12/video-muito-legal.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8482843461838909724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8482843461838909724'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2010/12/video-muito-legal.html' title='Video muito legal'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-220709815086235229</id><published>2010-11-09T07:00:00.000-08:00</published><updated>2010-11-09T07:00:07.285-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="generator"/><category scheme="http://www.blogger.com/atom/ns#" term="processForm"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Personalizar o Generator do processForm()</title><content type='html'>&lt;div&gt;Para personalizar o generator do processForm vá até o arquivo com o caminho abaixo:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;\lib\vendor\symfony\lib\plugins\sfDoctrinePlugin\data\generator\sfDoctrineModule\admin\parts\processFormAction.php&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;Uma opção para alterar este arquivo seria por exemplo setar algum atributo que existe em todas as suas ClassesForm , no caso posso sitar o usuário que fez a ultima atualização&lt;/div&gt;&lt;div&gt;&lt;div&gt;protected function processForm(sfWebRequest $request, sfForm $form)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;{&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;$form-&amp;gt;bind($request-&amp;gt;getParameter($form-&amp;gt;getName()), $request-&amp;gt;getFiles($form-&amp;gt;getName()));&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($form-&amp;gt;isValid())&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;$notice = $form-&amp;gt;getObject()-&amp;gt;isNew() ? &#39;The item was created successfully.&#39; : &#39;The item was updated successfully.&#39;;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/div&gt;&lt;div&gt;&amp;nbsp;//linha personalizada &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;$form-&amp;gt;getObject()-&amp;gt;setUpdatedUser($this-&amp;gt;getUser());&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Exception $exc) {&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo $exc-&amp;gt;getTraceAsString();&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;.&lt;/div&gt;&lt;div&gt;.&lt;/div&gt;&lt;div&gt;.&lt;/div&gt;&lt;div&gt;.&lt;/div&gt;&lt;div&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Bom pessoal este é o exemplo, e lembrando é claro que qualquer alteração nesta classe afetará todos os seus módulos que utilizarem o generator&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Abraço a todos&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/220709815086235229/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2010/11/personalizar-o-generator-do-processform.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/220709815086235229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/220709815086235229'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2010/11/personalizar-o-generator-do-processform.html' title='Personalizar o Generator do processForm()'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-8062801672078477991</id><published>2010-10-29T05:53:00.000-07:00</published><updated>2010-10-29T05:54:25.650-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Netbenas"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><title type='text'>Configurando e Utilizando o NetBenas com Symfony</title><content type='html'>Pessoal este link é um screencast do netbenas.org, de como utilizá-lo com o synfomy.&lt;br /&gt;
Para quem gosta do Netbenas, vai adorar.&lt;br /&gt;
&lt;a href=&quot;http://netbeans.org/kb/docs/php/symfony-screencast.html&quot;&gt;http://netbeans.org/kb/docs/php/symfony-screencast.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Abrços</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/8062801672078477991/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2010/10/configurando-e-utilizando-o-netbenas.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8062801672078477991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/8062801672078477991'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2010/10/configurando-e-utilizando-o-netbenas.html' title='Configurando e Utilizando o NetBenas com Symfony'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6653809396638656863.post-7111357123806453235</id><published>2010-10-05T06:41:00.000-07:00</published><updated>2010-10-05T06:41:45.106-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony"/><category scheme="http://www.blogger.com/atom/ns#" term="use_helper(&quot;Javascript&quot;)"/><title type='text'>Ajax no Symfony 1.4</title><content type='html'>Ola pessoal, hoje quero dar um &quot;help&quot; para quem está sofrendo com o use_helper(&quot;Javascript&quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;Até a versão 1.3 o sfProtocolousPlugin vinha &quot;embutido&quot; no symfony,&lt;br /&gt;
mas no 1.4 não. Isto para que fosse possível escolher mais facilmente&lt;br /&gt;
entre Prototype (que parece um pouco parado no tempo, apesar de&lt;br /&gt;
poderoso) e jQuery (que continua com ativo desenvolvimento e largo&lt;br /&gt;
uso).&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;Você deve optar então entre os dois plugins:&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;a href=&quot;http://www.google.com/url?sa=D&amp;amp;q=http://www.symfony-project.org/plugins/sfProtoculousPlugin&amp;amp;usg=AFQjCNEY9EgP3RbCTq8NMP3BPNukMNFTDg&quot; rel=&quot;nofollow&quot; style=&quot;color: #0000cc;&quot; target=&quot;_blank&quot;&gt;http://www.symfony-project.org/plugins/sfProtoculousPlugin&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;ESTE tem o helper &quot;Javascript&quot;.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;a href=&quot;http://www.google.com/url?sa=D&amp;amp;q=http://www.symfony-project.org/plugins/sfJqueryReloadedPlugin&amp;amp;usg=AFQjCNGqu2SnWsF5InVUa4pSv1Pwgr6mEQ&quot; rel=&quot;nofollow&quot; style=&quot;color: #0000cc;&quot; target=&quot;_blank&quot;&gt;http://www.symfony-project.org/plugins/sfJqueryReloadedPlugin&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;Este tem o helper &quot;jQuery&quot;.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;Para o uso de ajax com o symfony e o plugin&amp;nbsp;sfJqueryReloadedPlugin, voce deve instalar seguindo as instruções &amp;nbsp;do link acima, e, após isso configurar no seu arquivo setings.yml&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;all:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;standard_helpers:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&lt;a href=&quot;http://www.symfony-project.org/plugins/...,&quot; style=&quot;color: #683b00;&quot;&gt;.&lt;/a&gt;.., jQuery]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Pronto para o uso agora a cada chamada de função javascript basta por o prefixo jq_ como por exemplo:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: medium;&quot;&gt;&lt;br /&gt;
&amp;lt;div id=&quot;ja&quot;&amp;gt;asassas&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
echo javascript_tag(jq_update_element_function(&#39;ja&#39;, array(&#39;position&#39;=&amp;gt;&#39;after&#39;, &#39;content&#39; =&amp;gt;&#39;&amp;lt;strong&amp;gt;Data processing complete&amp;lt;/strong&amp;gt;&#39;)));&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://fabriciokerber.blogspot.com/feeds/7111357123806453235/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://fabriciokerber.blogspot.com/2010/10/ajax-no-symfony-14.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/7111357123806453235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6653809396638656863/posts/default/7111357123806453235'/><link rel='alternate' type='text/html' href='http://fabriciokerber.blogspot.com/2010/10/ajax-no-symfony-14.html' title='Ajax no Symfony 1.4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06851988384197710622</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>