FORSMILE
JA

Tech Blog

Tech articles on web development & AI (9 articles)

AllAIAMPCSSJavaScriptNUXTSmartySymfonyTwigVUEWordPress開発記事
Symfony2022/03/07

How to Implement Flash Messages [Symfony]

This article explains how to implement and use flash messages in Symfony, a PHP framework.

Read More →
Symfony2021/12/08

Removing the `form-control` Class from Forms: Configuring Form Themes [Symfony]

When generating Forms in Symfony, I was bothered by the automatic application of the Bootstrap class 'form-control' and investigated how to prevent it.

Read More →
Symfony2021/08/11

How to Set Global Variables in Twig with Symfony [Twig, Symfony]

This article explains how to set global variables for Twig using Symfony.

Read More →
Symfony2021/07/06

When you encounter 'Error: Call to a member function on array' with data retrieved by findBy [Symfony]

Looking back, it seems obvious, but I'm documenting this as I reviewed it when the error occurred. The error 'Call to a member function on array' happened when trying to get data from an entity retrieved with findBy.

Read More →
Symfony2021/05/13

How to Make an EntityType Checkbox Checked by Default [Symfony]

This is how to set a checkbox created from an Entity to be checked by default.

Read More →
Symfony2021/05/12

Usage Examples of Doctrine's `andWhere` and `orWhere` [Symfony]

This article explains how to write SQL WHERE clauses like the one below when using an ORM.

Read More →
Symfony2021/05/11

Error: Invalid PathExpression. Resolving the Error [Symfony]

More often than not, errors can be resolved by following the error message.

Read More →
Symfony2021/05/10

Iterate with fetch join in class ~ not allowed. Error Fix [Symfony]

This blog post serves as a memorandum of the solution I found for an error that occurred while developing a net shop system called EC-CUBE, which is based on Symfony.

Read More →
Symfony2021/04/08

How to Use Doctrine Result Cache [Symfony]

This is a memo regarding a project using the EC-CUBE e-commerce framework, where I re-evaluated the caching mechanisms.

Read More →