Tag Archive for 'Doctrine'

Symfony - how to set up default database encoding?

Maybe it’s nothing special and difficult but i remember the day (some time go)  when i had a problem with setting up default database encoding in my application. I recently received some questions about it so i decided to post this here and help some of you.

Continue reading ‘Symfony - how to set up default database encoding?’

Advanced data filtering with Symfony 1.4 and ExtJS 3.2 [english]

After a couple of weeks I finally found some time to write about Symfony and ExtJS. This time i want to show how to put together to work Symfony 1.4, ExtJS 3.2 and Grid Filter Plugin - for me it’s the one of most powerfull filtering solutions i have ever seen.
Since my last entry about displaying data in ExtJS Grid Panel i have updated Ext library to 3.2 version - they have added some nice features (more information you can find in changelog 3.1 and changelog 3.2) and changed some ExtJs components (more details you will find later).

Continue reading ‘Advanced data filtering with Symfony 1.4 and ExtJS 3.2 [english]‘

Symfony 1.3

W ubiegłym tygodniu ukazała się wersja 1.3 alpha znakomitego frameworka Symfony. Z pewnością nie uświadczymy rewolucji podobnej do tej w momencie ukazania się sf 1.1 i 1.2, jednak liczne drobne zmiany jakie wprowadzono powinny dość znacząco usprawnić naszą prace - pełna lista zmian dostępna jest tutaj. Wersja 1.3 podobnie jak 1.1 ma być jedynie wersją przejściową do 1.4, która ma się ukazać dopiero w 2010 roku i która będzie wspierana do 2013.

Continue reading ‘Symfony 1.3′

Zend Framework + Doctrine + jQuery Grid

Today i will show you how to put together: Zend Framework, Doctrine and simple jQuery Grid in easy way. All i want to do is to get some data from database with doctrine, format that data and send it to the template with Zend_Json:) Really nothing special.

Ok. Let’s start. First of all we need to create database schema.yml. It is realy easy country table:


Country:
  tableName: country
  columns:
    id:
      primary: true
      autoincrement: true
      type: integer(10)
    name: string(50)
    description: string(255)

Continue reading ‘Zend Framework + Doctrine + jQuery Grid’

Zend Framework + Doctrine - introduction

Some time ago i have shown you how to integrete Doctrine with our Zend Framework. Because it is really hard to say how much i hate the Zend_Db_Table ideology of working with database (i think it is not only my opinion), i will try to show you advantages of the Doctrine way. In this post I only want to give you some really easy introduction to Doctrine with Zend (it is just introduction without real world examples).

Doctrine

is an object relational mapper (ORM) for PHP 5.2.3 and later that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.
Continue reading ‘Zend Framework + Doctrine - introduction’

Symfony 1.2

Już praktycznie od tygodnia dostępna jest nowa wersja świetnego (przynajmniej w mojej opinii) frameworka dla PHP. Nie będę tutaj wychwalał wszystkich zalet tego frameworka - po szczegóły odsyłam na stronę projektu Symfony , wymienię jednak kilka najbardziej istotnych zmian:
-w wersji 1.1 mogliśmy przetestować nowy, w pełni obiektowy framework dla formularzy, w 1.2 został on poprawiony i ulepszony (zagnieżdżone formularze są teraz naprawdę zagnieżdżone, wywołanie metody save na formularzu wywołuje save na podformularzach, nowe widgety m.in. sfWidgetFormChoice i walidatory);
Continue reading ‘Symfony 1.2′

Zend Framework - integracja z Doctrine ORM

Korzystając z Symfony bardzo spodobała mi się praca z Propelem i Doctrine (bardziej do gustu przypadło mi jednak Doctrine). Jako że domyślny silnik bazodanowy Zenda pozostawia wiele do życzenia, postanowiłem go zamienić na Doctrine. Osoby, które jeszcze nie spotkały się nigdy wcześniej z Doctrine zapraszam na stronę projektu - znajdziecie tam wszystkie niezbędne informacje.
Continue reading ‘Zend Framework - integracja z Doctrine ORM’




About me:

  • PHP programmer
  • Symfony developer
  • Zend framework developer

Categories: