Browsing Category

php

104

Top 5 PHP Frameworks to use in 2018

We all know that all web applications have some things in common like login, registration & communication.  communication is carried out mostly through validated and secured forms, and the information is stored in various databases. The…

Php code for image upload function

Image upload function performs the task of image uploading, cropping, setting image size according to aspect ratio etc. This PHP code provides the fully functional image upload utility. Here is the code -…

Php code to redirect invalid user

Redirecting invalid user is necessary because different pages of the website have different authority. Some pages should only be accessed by admin. If some invalid user tries to open them, then they should be redirected to another page.…

5 BEST PHP FRAMEWORK TO LEARN IN 2017

let’s highlight 5 Best PHP frameworks to learn in the year 2017 and take a bird’s eye view of how each one of them can ease your PHP app development. Need Of PHP frameworks Of all the server-side programming languages, PHP undoubtedly…

What Is an Abstract Factory Pattern?

The Abstract Factory pattern is a creative way to expand on the basic Factory pattern. Since the Factory pattern is a class that creates other classes in a uniform way, the Abstract Factory pattern gives us a way to allow factories with…

Using Swiftmailer in symfony

Symfony2 provides a default mailer component called swiftmailer. Its default configuration looks like this: # app/config/config.yml # ... # Swiftmailer Configuration swiftmailer: transport: "%mailer_transport%"…

what are Fixtures symfony ?

After creating the database structure, it would be handy to prepare some test data. We can do this through fixtures. Unfortunately, Symfony2 does not come with any fixtures system, so we need to install it. Type the following: $ php…

Pin It on Pinterest