When doing Magento optimization, developers are often finding ways to boost performance by turning off some of the core modules that are not needed. There are multiple sites that provide recommendations on what modules should be disabled if not needed. Weee was one of them.
During development of payment method I encountered one issue related to this.
Category: PHP, MySQL
Postovi vezani uz PHP i MySQL
Creating virtual subdomain with htaccess
Posted on Categories:PHP, MySQL, Symfony, UNIX/Linux in generalIn order to create a virtual subdomain in PHP, the following conditions must be fulfilled:
– enabled Apache’s Mod_rewrite module
– existing wildcard DNS record
– properly configured .htaccess file
Getting the backend routing from frontend application in Symfony and vice versa
Posted on Categories:PHP, MySQL, SymfonyWhen using Symfony frontend application it is sometimes necessary to access other application’s routing to create an internal url that points to that application.
In order for that to be posssible, a method for getting the desired application’s routing is required.
Five reasons why I don’t like php templating engine
Posted on Category:PHP, MySQLRecently, I’ve been asked (yet again) by my superiors to use a templating engine on my project. The main reason for this was so that end users can edit the application templates more easily.
Therein lies the first reason:
Creating new relations by using jQuery Autocompleter widget in Symfony
Posted on Categories:PHP, MySQL, SymfonyThis post describes how to create new relation by usin jQuery Autocompleter widget in Symfony project.
Recently, I’ve had a situation where I had to create a form for entering a product details, with a dropdown or autocomplete input for selecting product’s brand. If a user entered a non-existing brand, it had to be automatically created and assigned to product that the user was editing.
Using sfFormExtra Captcha on a Symfony based project
Posted on Categories:PHP, MySQL, SymfonyThis post describes how to quickly implement a Captcha on a project that already uses sfFormExtra Plugin. Since sfFormExtra Plugin already has Captcha integrated, it is not necessary to install sfReCaptcha Plugin.
Creating SSL enabled website on Apache/Linux
Posted on Categories:PHP, MySQL, UNIX/Linux in generalThis post describes how to quickly enable SSL on Apache and create SSL enabled website on Apache/Linux environment. In this post I assume that apache2 is properly installed on your linux server, and you’re running a Debian or Ubuntu distribution of Linux.
A quick reminder: SSL enabled website is just another web service (more precisely, virtual host), that is running on a port different than a standard http port 80. Typically, port on which are SSL enabled websites running is 443, and address usually begins with https://… instead of usual http://… on a regular website.
Enabling logging in production enviroment for Symfony project
Posted on Category:PHP, MySQLThis post describes steps required to enable logging in Symfony project in production enviroment.
By default logging is disabled in prod enviroment, and if you want to enable it, you need to edit settings.yml and factories.yml files in your app directory.