Server Change

I apologize for the downtime. There where misunderstandings with our previous hoster but now we have a new one and everything is up and running again.

Symfony2 Tutorial: Storing Data – Doctrine, Entities, Sql

This is the fifth part of the series Symfony2 Tutorial for Beginners which will describe the process of creating and managing persistable entities.

We will create entities that can be written in a database as well as edited, deleted and of course shown.

Q&A #1: Java performance of static variable

I always feel bad when people arrive at this site and do not find what they where looking for. That is why I implemented this little series called “Questions and Answers” or “Answering Questions nobody asked me since 1777”. Most of these Questions are based on search terms over which users arrived at this site (a little creepy or nice and helpful? Who is to say) and some I got via email (if you too have a programming questions feel free to send me an email via the contact button above). So lets get right to it:

“does declaring a static variable in java kill the performance?”

Book Review: Effective Java

Book Overview The Book Effective Java by Joshua Bloch is about the Java programming language for people who are already familiar with Java in general but are not yet proficient. If you can write java code but want to start becoming a java expert, this book might be for you! Summary of Effective Java The book is structured in 11 Chapters containing 78 items. An item is a concept, hint or rule that can be read on its own thus allowing the reader to browse through the book in no particular order.

Programming Book Recommendations

This post will list all my book recommendations / reviews. Books on Java Programming Language Effective Java The Book Effective Java by Joshua Bloch is about the Java programming language for people who are already familiar with it in general but are not yet proficient. If you can write java code but want to start becoming an expert, this book might be for you! Read the Book Review of Effective Java.

Block Destroyer: A Breakout Game (Java Source Code)

breakout game start: 6 rows of blocks waiting to be broken, a paddle, but no ball so far

Play the game Breakout. Destroy bricks, bounce balls, have fun with this awesome clone of the classic arcade game.

It is written in Java with the libgdx library, so it can be played on the PC, Android as well as online. The java source code of this game is open and can be downloaded as well.

Symfony2 Tutorial: User Submissions – Controller, Forms, E-Mails

This is the forth part of the series Symfony2 Tutorial for Beginners which will describe the process of creating an interactive contact page. This part of the Symfony2 tutorial has the goal to deepen the understanding of controllers and Twig templates. Furthermore forms will be introduced so that at the end of this tutorial the reader will be able to create an interactive page with the symfony2 framework. Creating the Contact Entity Creating the Form Class Twig template to render a form Adding the Controller Action Flash-Messages: Feedback across requests Replacing hard-coded strings / Using configurable settings Creating the Contact Entity First of all, create a directory Entity   in which all entities will reside from now on.

Symfony2 Tutorial: The first static Page – Routing, Templates, Twig

This is the third part of the series Symfony2 Tutorial for Beginners which will describe the process of creating a static page. We will create a controller that will define a route as well as the action for this route. Furthermore we will create a basic template in twig and the impressum page itself. Creating the Route and the Controller Creating the View (Twig) Creating the Route and the Controller The first thing one has to do when adding a new page to a website is to define how the user can reach it and what part of the code should be executed in order to show it.

Symfony2 Tutorial: Netbeans and Symfony2 – Setting everything up

This is the second part of the series Symfony2 Tutorial for Beginners which will describe the process of configuring Netbeans to work with the php framework Symfony2. Prerequisites Enabling Php in Netbeans Creating Symfony2 Project in Netbeans A short note on Symfony2 directory structure Configuring your Webserver Configure Symfony2 Working with Netbeans and Symfony2 Prerequisites Things that should already be up-and-running: Webserver (e.g. Apache) DBMS (e.g. mysql) Netbeans Enabling Php in Netbeans These are the steps for Netbeans 7.