Zend framework quick guide

Created at: 2019-09-01 04:34:40 Updated at: 2019-09-03 05:25:20

in Zend Fframework, zf3

Quick overview on Zend Framework 3 with enough details.

  • Zend\EventManager component allows to send events and register listeners to react to them.

  • Zend\ModuleManager. In ZF3, every application consists of modules and this component contains module loading functionality.

  • Zend\ServiceManager. This is the centralized registry of all services available in the application, making it possible to access services from any point of the web site.

  • Zend\Http provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests.

  • Zend\Mvc. Support of Model-View-Controller pattern ...

how to switch default php version in linux ?

Created at: 2019-08-29 06:03:02 Updated at: 2019-08-29 06:08:39

in Linux

Problem :- How to switch default php version in linux ?

Platfom :- Linux

Solutions

Check which php versions are available with system

    sudo update-alternatives --config php

or else you can use following command to set each library

    sudo update-alternatives --set php /usr/bin/php7.2
    sudo update-alternatives --set phar /usr/bin/phar7.2
    sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.2
    sudo update-alternatives --set phpize /usr/bin/phpize7.2
    sudo update-alternatives --set php-config /usr/bin/php-config7.2

Ff still not able to set the default version than look f...

SOLID Principles

Created at: 2019-08-20 05:52:17 Updated at: 2019-08-20 06:10:22

in Principal

In object-oriented computer programming, SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible and maintainable.

S.O.L.I.D. STANDS FOR:

    S — Single responsibility principle.
    O — Open closed principle.
    L — Liskov substitution principle.
    I — Interface segregation principle.
    D — Dependency Inversion principle.

S — Single responsibility principle

In programming, the Single Responsibility Principle states that every module or class should have responsibility over a single part of the functionality provided by the s...