Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Finland:
Drop-dead simple SASS builds in Symfony Flex with Webpack Encore
Jul 10, 2017 @ 15:17:42

The Symfony Finland site has an article posted introducing you to Symfony Encore, a tool that makes it simpler to manage frontend libraries and dependencies via Webpack.

Symfony Encore is a wrapper for the JavaScript module bundler Webpack. Webpack is used to manage Front End assets like JavaScript, CSS and image for browser consumption, often with conversion step from a source format like SASS. Encore provides an opinionated way to add Webpack to your Symfony projects.

[...] Earlier this year I experimented with sharing a state object with Symfony and different front end tools. Recently I ported the Symfony 3 application to Symfony Flex. Now I will continue the evolution of the app by adopting Symfony Encore to the project.

The article briefly introduces Encore and what functionality it provides before getting to the installation (via yarn) and configuration that it installs by default. The post then goes through the setup of SASS, using assets in your pages and running builds.

tagged: symfony tutorial encore webpack assets build sass install configure

Link: https://symfony.fi/entry/drop-dead-simple-sass-builds-in-symfony-flex-with-encore-webpack

/Dev/Hell Podcast:
Episode 26: Sassy!
Jan 18, 2013 @ 16:24:36

The /Dev/Hell podcast has released their latest episode, #26 - "Sassy!" The podcast is hosted by PHP community members Chris Hartjes and Ed Finkler.

The first episode of 2013 find Chris and Ed talking about the tragedy of Aaron Swartzs’ suicide, both in the context of governmental power and mental illness. We also talk about Ed’s favorite (and only tolerable) Apple-related podcast ending. Finally, Ed rambles about SASS, a superset of CSS3 that makes writing CSS less painful.

You can listen to this latest episode using the in-page player or by grabbing the mo3 directly. You can also subscribe to their feed to get this and the latest updates about the podcast.

tagged: devhell podcast sassy ep26 sass aaronswarts

Link:

NetTuts.com:
Quick Tip: Integrate Compass into an Existing CodeIgniter
Jun 06, 2011 @ 15:58:34

In a new screencast from NetTuts.com today they show you how to integrate the popular Compass CSS authoring framework into an existing CodeIgniter-based application.

I was recently asked about how to use Compass in an existing CodeIgniter project. It seems that the emailer was under the impression that Compass was made for Ruby and Rails. But that’s not the case at all! Note that Ruby will need to be installed on your system in order for Compass to work correctly.

The screencast (coming in at a quick five minutes) shows you how to get things set up and includes a walk-through of the generator application and the output it gives.

tagged: compass css sass codeigniter screencast tutorial

Link:


Trending Topics: