Sometime ago I tried to use Adminer in Docker to administrate a sqlite database, which was not as easy as expected.
If you are a happy user of IntelliJ IDE like PHPStorm or IntelliJ Ultimate like me :) then i would nowadays recommend to use the built-in database tool of your IntelliJ IDE for Sqlite administration instead.
Even in dockerized context.
Directories settings in PHPStorm and IntelliJ Ultimate
I recently switched from PHPStorm to IntelliJ Ultimate because of some Java. But still i am working a lot on PHP and symfony projects.
One thing i usually do on symfony projects in PHPStorm is to edit the “Directories” in the settings to avoid having results from var/cache or var/logs in the search results.
Also it slows down the search which i heavily use. So i exlude all folders that should not be searched because they are cache files or are redundant in some other way.
Continue reading “Directories settings in PHPStorm and IntelliJ Ultimate”
Symfony development with docker on a mac
I recently started to do all PHP development with docker, since I was just tired of installing tons of dev libraries on my machine. Most of which i couldn’t even remember what they actually were good for.
When I first tried docker (docker-toolbox for mac) I was really disappointed how slow symfony apps ran inside the container. Continue reading “Symfony development with docker on a mac”
[Symfony 2][Assetic] Sass, CompassFilter + Foundation Responsive Front-end Framework
Did you ever wonder how to enable 3rd party plugins (or so called “frameworks“) within the great compass toolset managed by assetic in your edgy symfony 2.1 project?
(If there is more extensive documentation available concerning assetic + CompassFilter, please stop reading on and let me know!)
If you take a look at the filter class itself (it is CompassFilter in the generic Assetic\Filter namespace), you should recognise several option values that you can use in your application wide config.yml file.
But first you have to install the framework plugin following these instructions.
javascript benchmarking with jsperf
I might be a bit late (yeaikno it exist over a year now and a bunch of blogs had it covered) but nevertheless i would like to point out a very helpful online tool i recently ran into:
Its basically a online benchmark tool for testing different approaches in javascript.
It covers some important aspects of benchmarking, that your homemade bench probably wont have like milliseconds accuracy & statistical analysis.
The tests are run on your browser and the results will feed the “browserscope”. A graph of the “highest known results” for the participating browsers.
So we can see some kind of comparison.
Continue reading “javascript benchmarking with jsperf”
[Symfony 2][Twig] – Enabling (native) Twig Extensions
Twig Extensions is a tiny official repository for extensions to the Twig templating markup language, the default templating engine in each Symfony 2 (Standard Ed.) project. This short article shows how to purposeful enable them per-environment for your projects.
Continue reading “[Symfony 2][Twig] – Enabling (native) Twig Extensions”
nodejs plugin for netbeans
Over the weekend i looked for a plugin for node.js in netbeans and ended up tryin this one:
http://timboudreau.com/blog/read/NetBeans_Tools_for_Node_js
Actually its all said on the post itself: installation, features and restrictions.
So go and read it.
Its still a bit early stage and only runs on a nightly-build netbeans but it already has some helpful features.
Continue reading “nodejs plugin for netbeans”
Tilt – 3D DOM visualization
someone just +1’d this nice addon for firefox:
(thanks, conrad :)
Tilt visualizes the DOM in 3D and is a lot faster than i expected.
Continue reading “Tilt – 3D DOM visualization”
Wunderlist client for Linux
Hey, today Wunderlist released a Linux Client for the Desktop. That made me curious about the hyped tool.
So I gave it a try on my Ubuntu machine!
Open the console and:
wget http://www.6wunderkinder.com/downloads/wunderlist-1.2.4-linux-32.tgz tar xvfz wunderlist-1.2.4-linux-32.tgz sudo mv Wunderlist-1.2.4/ /opt/
[Symfony 2] Twig – Global Variables
Schon mal gefragt, welche globalen Variablen in der Twig-Extension eines Symfony 2 (Standard Distri)-Projektes zur Verfügung stehen? Continue reading “[Symfony 2] Twig – Global Variables”