Hello, I’m Julian

Symfony3/Doctrine: Collections in Entity filtern

Mit Doctrine ist es jetzt möglich mit "Criteria" Collections direct über SQL in einer Getter-Funktion der Entity zu filtern.

namespace ...\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Criteria;
 * @ORM\Entity
class Parent {
     * @ORM\On...
Read more
Date: Fri, 09 Sep 2016 7:48:00

DIY Pool Teil 1

Wir haben uns vor einigen Jahren ein relativ großes aufblasbares Schwimmbecken zugelegt. Im Sommer haben wir uns darin praktisch jeden Tag abgekühlt. Nur leider ist es in dem Becken mit 3,5m Durchmesser und ca. 80cm Tiefe unmöglich zu schwimmen. Und am Ende der Saison hatten wir dort wo vorher da...

Read more
Date: Fri, 31 Oct 2014 10:17:00
Author: Julian Stricker
Tags: diy, pool


Nach Jahren der Vernachlässigungen ist es an der Zeit die Seite julianstricker.com neu zu starten: Neues Layout, neues System, neues CMS, neue Themen, neue Inhalte.

Neue Blogeinträge gibt’s jetzt nur mehr auf Deutsch. Inhaltlich werde ich zusätzlich zu den Themen Programmierung, PHP und Javasc...

Read more
Date: Wed, 29 Oct 2014 12:23:00
Tags: grav

How to add a "Save and List" Action Button to Symfony Admin Generator Form.

To improve the workflow sometimes it may be better to redirect the user back to the list after the Save-action. This tutorial shows how to implement this in Symfony 1.3 and 1.4

First copy the "processForm"-function from the action.class.php in your cache-directory ( /cache/dev/modules/auto[Modulen...

Read more
Date: Mon, 15 Nov 2010 12:47:00
Author: Julian Stricker

Fun with HTML5 Canvas Effects

During my work on the new AIE Ajax Image Editor, I have done some experiments with the new HTML5 features, especially the new Canvas tag. This script is basically a new implementation in JavaScript of a old Director-Movie which I have made about 10 years ago.
Simply move over the image to distort...

Read more
Date: Tue, 14 Sep 2010 9:51:00
Author: Julian Stricker

Validate size of a uploaded Image in Symfony 1.3/1.4

The sfValidatorFile has no options to check the size of a image in pixel. For that I have written a simple validator that extends the sfValidatorFile-class.

Create the file jsValidatorImage.php in your /lib directory:

    class jsValidatorImage extends sfValidatorFile
      protected funct...
Read more
Date: Thu, 24 Jun 2010 13:41:00
Author: Julian Stricker

Googles Web Fonts

Increasing the diversity of fonts on the web using the Google Font API, the Google Font Directory and the Webfont Loader.
The selection of fonts used on the Web is very small. This has changed with the new in CSS3 defined @font-face. This allows fonts to be loaded from the web, which works in all modern browsers. This mechanism requires appropriate fonts and the right to make them available on the web or to download from other sources. For this Google has created his Google Font Directory and the Google Font API.

Read more

Date: Thu, 20 May 2010 10:17:00
Author: Julian Stricker

Filter Admin-List in Symfony 1.4 + Doctrine

Some time ago I wrote an article about filtering the admin-list in Symfony 1.0 and Propel. Now in Symfony 1.4 and Doctrine the steps to do this are completely different:

First we have to change the auto-generated file in apps/[APP]/modules/[MODULE]/actions/actions.class.php and to add a function "...

Read more
Date: Wed, 31 Mar 2010 7:45:00
Author: Julian Stricker

Firefox implements new W3C File API specification

Web applications can access local files and upload multiple files.
The current fourth beta of Firefox 3.6 comes with support for the File API. The relevant W3C draft specification is from Mozilla developer Arun Ranganathan. The File API provides different objects. This includes FileList containing an array of individually responsive files. It should be integrated over an input tag in HTML 5 pages. Several files can be uploaded at once.

This allows Firefox to upload via drag and drop, so that files can be moved easily from the de… Read more

Date: Fri, 27 Nov 2009 11:31:00
Author: Julian Stricker

Workaround for Flash CS3 Bug in internationalization using Strings Panel : Error 1009

Flash CS3 has a Bug when creating multilanguage projects using the Strings-Panel with String-replacement-setting set to "Automatically at Runtime".

A Bug description can be found at http://www.kirupa.com/forum/showthread.php?t=281170

I spend a lot of time on trying to find a solution for that problem:

Assuming you have a dynamic textbox linked to a Strings-Panel-ID in Frame 1 - 5 you will receive a TypeError #1009 if the Player comes to frame 6.

Read more
Date: Thu, 25 Jun 2009 13:33:00
Author: Julian Stricker
Blog Comments powered by Disqus.