Skip to main content

Posts

Showing posts from March, 2018

The PrestaShop 1.7 file structure

The PrestaShop developers have done their best for clearly and Inference separate the various parts of the software. Here is how the files are organized: ·       /admin: C ontains all the PrestaShop files pertaining to the back office. When you accessing this folder with any browser, you will be asked to provide proper identification, for security reasons. you should make sure to protect that folder with a .htaccess or .htpasswd file   (You can customized   the name on installation) ·       /app : NEW IN 1.7. ·       /cache :   There are temporary and generating folders used to reduce the load of the server. ·       /classes : The Prestashop object contains all the files related to the model (some are used for the front office, for other back offices). Each file represents the PHP class and its contains methods / properties ·    ...

Create REST api in Symfony

A) Download the Bundle Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle: $ composer require friendsofsymfony/rest-bundle B) Enable the Bundle Then, enable the bundle by adding the following line in the  app/AppKernel.php  file of your project:   1   2   3   4   5   6   7   8   9 10 11 12 13 // app/AppKernel.php class AppKernel extends Kernel {     public function registerBundles ()     {         $bundles = [             // ...             new FOS\RestBundle\FOSRestBundle (),         ];         // ... ...

Vue js v-model

In vue js v-model used to two way binding on input and text area elements   Modifiers: * .lazy (v-model.lazy)   - By default vue js sync input with the data after each input event, If you want to apply changes after "change" instead of "input" you can use .lazy mpdofier   * .number (v-model.number)     - If you want user input automatic typecast as a number, then you can use .number modifier   - Thanks to modifier .number, because if you use HTML5 elament type="number", the value of the element always return as string.   * .trim (v-model.trim)   - .trim modifier is used to trimmed user input automatically.
Follow below 5 steps and you will be well on your way: Identify Your Customer: You can’t possibly be effective as a business if you don’t understand your customer. This is especially true when you are trying to integrated team – it never hurts to get everyone on the same page. Marketers often develop persons to describe who they are targeting. Salespeople often have a lot of real world experience with these customers and know them on a different level. IT understands their behavior patterns, and the technology it will take them to serve them effectively. Craft an Effective Brand Voice: Now that everyone is on the same page about who they’re trying to reach, it’s time to put some thought into how you want to represent your brand in these conversations. Each department may have a different point of view on what the most important traits of your brand are. Putting your heads together could wield some surprising results. Maybe your IT department feels like innovation is an im...

CSS3

CSS means Cascading Style Sheets language and its latest version is CSS3. It's showing how HTML element should be display exactly. It has that kind of things which is we can say mandatory for any site. It has decorative stuffs for skeleton of site. Its last version was CSS2 which was old school now and current version is CSS3. Comparing to last version with latest version of CSS is totally changed. The latest version has Animation, Transition, Transformation, Gradients, and Shadows for Objects and has new kind of layouts like multi-columns, Grid Layouts and Flex Layouts. The CSS language has many type of attributes like Fonts, Box, Elements, Margin, Padding, Icons, Links, Table Structure, Positions, Alignment of Elements, Combinations, Images and Controlling elements etc.. It has also 2D and 3D Transformation, Animations for any elements, Tooltips, Images related styles and most important is Media Queries which is very helpful for any site to match with current tr...