introduction to Web Components

"Web Components is a suite of different technologies allowing you to create reusable custom elements — with their functionality encapsulated away from the rest of your code — and utilize them in your web apps."MDN web docs

Some browsers are still in the process of updating to support the standards for Web Components. In the mean time, polyfills simulate the missing browser capabilities as closely as possible.

You can feature-detect for the necessary browser features before loading the polyfills. This means that as more and more browsers implement the Web Components standards, the payload to run your apps and elements will decrease. The polyfills are available on GitHub.

Web Components consists of three main technologies, in particular custom elements, shadow DOM and more

pagination in your Symfony projects with the KnpPaginatorBundle

To list a large result set on your page can end up with long loading times and/or a confusing look. This is where pagination comes into play, it's a widely used concept to divide your content into clean blocks of data.

The KnpPaginatorBundle is a great bundle for pagination inside Symfony. The bundle requires Symfony >=3.4 and Twig >=2.0 if you use the twig templating engine in your project.

install KnpPaginatorBundle

The bundle can be installed using composer with the following command:

composer require knplabs/knp-paginator-bundle

If you don't use flex you have to register the bundle before you can use it. more

how to use and customize TinyMCE5

TinyMCE 5.0 is a JavaScript based WYSIWYG editor, used for content creation. Today we explore how to implement the library and customize it for our own needs. more

back from vacation

I just came back from my vacation and updated the article related to security within symfony. I also already started with the article for next week where we will take a look at TinyMCE5 and how to use/customize it for your own needs.

Catch ya next week, Sam

how to build your own security system for your Symphony application

updated at 21.06.2019

It has never been easier! Even though authentication and authorization are big topics which can get quite complex, Symfony provides us with all the tools we need to set up an awesome security system. We are going to take a look at both topics and will create an example which stores the user data in a MySQL database (Doctrine) and provides a HTML form for authentication, step by step. Let's have some fun! more


please enter your name
please enter a valid email above
please enter the subject for your request
please enter your message before you send the form
mail successfully committed