Category: Learn

Apr12

Tagged in:, , , , Comments:

Sonata Admin Bundle nested list or has child list

Permanent Link to Sonata Admin Bundle nested list or has child list

Post (parent) to display comments (child) list. Creating list of rows on sonata admin bundle is fairly easily with there documentation. But when you want to go bit advance on creating sub list of parent entity, then you would be scratching your head.  Luckily this post will help you overcome this very easily. Assuming you already have PostAdmin and […]

Feb02

Tagged in:, , , , , Comments:

Symfony 3 should I upgrade or stay with Symfony 2

Permanent Link to Symfony 3 should I upgrade or stay with Symfony 2

Everyone is excited about Symfony 3, including myself 🙂 Symfony 3 or Symfony 2? Symfony 2.8 is exactly same as Symfony 3. But wait, then what’s the difference? Symfony 3 mostly have new directory structure for logs, cache and console. Also all the previous deprecated functions are removed. Should I upgrade then, if its same? […]

Jan31

Tagged in:, , , , , Comments:

Symfony3 Auto Wiring – Auto Creating Dependency Services

Permanent Link to Symfony3 Auto Wiring – Auto Creating Dependency Services

Previously if you ever had dependency for your object, you had to make sure the names for dependency services are correctly passed down to your new service before you can start using it. Since Symfony 2.8 which is official exact version of Symfony 3 (removing all the deprecated functions). Now you can create services without […]

Jan28

Tagged in:Comments:

Change input name of the form fields in Symfony3

Permanent Link to Change input name of the form fields in Symfony3

Remove form type name from the form Sometimes we need to integrate third party application or form, which requires us to remove any array type form names.  Problem Normal form will create FormTypeName[fieldName] <input type=”text” value=”” name=”formTypeName[fieldName]”> Our final outcome should look like field name only without any form type name. <input type=”text” value=”” name=”fieldName”> […]

Jan28

Tagged in:Comments:

Symfony3 Container Dependency Injection

Permanent Link to Symfony3 Container Dependency Injection

It’s 2016, you can use trait which will help you extend same class with multiple libraries. I keep seeing container class get extended into another class, which then extends to another, before you know it you have extended 5 different classes just to use libraries. What if you can include 5 different libraries into 1 object without extending? […]

Jul11

Tagged in:Comments:

Quick Setup Mailgun with CloudFlare + Gmail

Permanent Link to Quick Setup Mailgun with CloudFlare + Gmail

Mailgun Setup Create a Mailgun account Add your domain name (no www)domain.com Keep the page open and open a new tab to CloudFlare Cloudflare Choose your site and select DNS Settings Add the two Text records Add the CNAME record Make sure the cloudflare cloud is gray and not orange/active Add the two MX records […]

Jan05

Tagged in:, , , , , , , Comments:

Setup Environment UAT + LIVE – GITHUB (Auto Deploy)

Permanent Link to Setup Environment UAT + LIVE – GITHUB (Auto Deploy)

We will cover UAT and Live environments and exclude developer environment. DEV environment for developer to code and test, before he push his commits to remote repository (github.com),  which will be auto deploy to UAT environment for everyone to test with other developers changes. Note – we wont be covering DEV environment. UAT environment for […]

Jan04

Tagged in:, , , , , Comments:

WordPress FIX HTML parsing issue – for Developers

Permanent Link to WordPress FIX HTML parsing issue – for Developers

It’s really annoying and waste loads of hours trying to fix how can one show example of php code, while still use visual editor for quick snapshots or fancy tools of tinyMCE and able to show color coding examples using google prettify.

Jan23

Tagged in:, , , , Comments:

MediaWiki WYSIWYG Editor Reset Images Bug [Solved]

Permanent Link to MediaWiki WYSIWYG Editor Reset Images Bug [Solved]

For over 3 years no one wrote a solution for reset images caption error on mediawiki script, which also is on durpal and some other applications getting used, but its hard to believe that. link to bug

Jan13

Tagged in:, , Comments:

15 Amazing jQuery Image Gallery/Slideshow Plugins and Tutorials

Permanent Link to 15 Amazing jQuery Image Gallery/Slideshow Plugins and Tutorials

Image galleries, sliders and slideshows have become increasingly popular within webpages over the last year or so, and with jQuery becoming ever more popular, more and more developers have been creating these amazing powerful, versatile and sleek galleries. Thank you jQuery. Below you will the most powerful, the most creative and most versatile of jQuery […]

Older posts

Back to top