D
D
Deprimovec2013-11-19 08:07:34
PHP
Deprimovec, 2013-11-19 08:07:34

Application of design patterns in web development. How to start, when, where and what to apply?

Good day.
I can't call myself a good web coder and here's why.

I am familiar with various CMS and delved into their insides, developed sites on them. Studied and used CodeIgnitor, Yii frameworks, used separate Zend classes. Over time, I switched to micro frameworks - I really liked the Fat Free Framework. But using these tools is not the same as being a good coder. I want to grow and this requires a deep understanding of OOP and patterns.

I really want to fully understand the need for certain patterns, and most importantly, understand where and when they need to be applied.

For these purposes, I decided to write a browser game and, based on it, study patterns and improve my OOP skill. In theory, this will be the implementation of a specific micro framework.

I ask for helpJedi coding in terms of interesting and understandable information on patterns and their application in certain cases.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Boliev, 2013-11-19
@Deprime

PHP. Programming Objects, Patterns, and Techniques
Excellent book

A
Alexander Vitkalov, 2013-11-19
@nechin

Start with spelling

A
Alexander, 2013-11-20
@kryoz

It’s worth starting with a revision of the tools at hand. Without a full-fledged IDE (I don’t even know how relevant NetBeans is, I switched to PhpStorm), it’s impossible to move to a qualitatively new level, when the brains are freed to think about the architecture.
Attach phpcs and phpmd there.
Use a mature modern framework.
From reading it makes sense to get acquainted with what voff recommended.
I personally also recommend Robert Martin "Clean code" to reconsider the concept of "quality code".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question