Machine learning gets closer – study how to create AI

Three-dimensional model of the robot with books and the diploma

Being a web developer was working good for me for around a decade now. I like the power of web, how it brings together multiple people, how I can see what various people do with what I’ve created, this is really inspiring. When social networks have appeared, it became even more interesting. I do not [Read More →]

Keep yourself up-to-date!

I believe that for programmers it is very important to constantly update their knowledge base. What was a cutting edge technology a couple years ago might already become outdated. The pace of our profession development is truly very fast, so being up-to-date is very important. There was a time I was working with a team [Read More →]

Custom validation with Zend Form

Custom Validation

Today I want to show you a simple, but a very usable concept of validating a form depending on some criteria. There was a time when for one of my projects I needed to create a dynamic form similar to this one: When checkbox near the field is checked, the field needs to be required, [Read More →]

Thin Clever Beautiful Controllers

Very often I see how much people overload their controllers. That situation is so much frequent that it even received it’s own term “Fat Stupid Ugly Controllers”. So what does that mean? If you just have 3 components of MVC – model, view and controller – this is not enough to claim that your application [Read More →]

Posted in Generic. Tags: , , . 2 Comments »

2 columns form with Zend Form

Two column form

Here’s yet another post about Zend Form. I love the power of Zend Forms, but there are many tricks I had to learn to make it work the way I want to. Very often people ask how to create a form which has several columns. At this post I want to share how you can [Read More →]

Custom Zend Element – Checkbox Tree

treeview

Alright, tuning and decorating elements is nice and fun. But what if you need something really custom like a checkbox tree? In this case you will need to create a custom Zend Element. It might sound complicated at the beginning, but this is actually quite simple. I prefer this appoach rather than using ViewScript to [Read More →]

Why people avoid standards?

standards

There was a time I needed to outsource some of my work, so I started looking for a coder that could help me with XHTML/CSS part.  I checked few portfolios which people were sending to me, but most of the websites I saw there where sliced using tables. When I asked one of these guys [Read More →]

Real table based form with Zend Form

tableform

As you might have already noticed from my previous posts, when it comes to form creation I try to avoid coding manual HTML as much as possible. Afterall, we have all that nice elements and decorators available at Zend Framework, so why wasting it? So, I have one more thing from my Zend Form’s toolset [Read More →]

7 quick tips on Zend Form

Let me show you several quick tips on zend form, which are very simple, but seem to be hard to come across for many people: 1. Custom HTML within the label Sometimes there’s a need to add some HTML directly into the label. For example, a quick link to “read more” or something. Normally you [Read More →]

Zend Form – Radio buttons

radiobuttons

Zend Framework is very powerful and feature rich. But sometimes it can drive you nuts! While working on one of my projects I needed to build a form looking something like this: Looks pretty simple, but the trick is that I needed so that these were not 3 individual radio groups (Fruits, Veggies, Berries), but [Read More →]