Front-end application development, Symfony-style(s)
Kévin Dunglas » Symfony
by Kévin Dunglas
3w ago
Slides of my talk at SymfonyLive Paris 2024. We recently introduced the AssetMapper component and Symfony UX to make the most of the web platform and reduce the amount of JavaScript code to the absolute minimum. This “radically simple” approach is generally the most efficient, and should be the go-to method for most new Symfony applications. However, API-based, JavaScript-heavy applications are still inevitable or more straightforward than the alternatives for many other use cases: building rich applications that leverage the device’s hardware capabilities (3D, GPS, E2E encryption, Bluetooth ..read more
Visit website
PHP and Symfony Apps As Standalone Binaries
Kévin Dunglas » Symfony
by Kévin Dunglas
5M ago
Distributing PHP applications is quite complicated. For instance, to run a Symfony project in production, a web server, the PHP engine, and the appropriate PHP extensions need to be installed. Their versions and configurations must be compatible with the app. Because PHP is an interpreted language, the application source code must also be available. Composer dependencies as well… and things are even more difficult if some of them are private. Of course, these days, containers can help. But what if we could make things even simpler: a single distributable binary that’s self-executing? Download ..read more
Visit website
Webperf: Boost Your PHP Apps With 103 Early Hints
Kévin Dunglas » Symfony
by Kévin Dunglas
7M ago
Google Chrome, Firefox, Caddy, and Apache now support a new HTTP status code: 103 Early Hints. Since version 6.3, Symfony also supports 103 responses, and FrankenPHP also supports it natively. This new, rather unusual type of response has a single objective: to speed up the loading time of your websites and applications by allowing the browser to preload the resources it will need to render the page. In this presentation, we’ll look at how 103 differs from other preloading techniques such as HTTP/2+ Server Push or <link ref="preload"> tags, and how to take advantage of it from within ou ..read more
Visit website
6x faster Docker builds for Symfony and API Platform projects
Kévin Dunglas » Symfony
by Kévin Dunglas
9M ago
Available translations: French At Les-Tilleuls.coop, we’re constantly striving to reduce the environmental footprint and hosting costs of the projects we work on (eco-design, GreenOps, and FinOps strategies…). We generally focus on optimizing production code and infrastructure, but the CI/CD pipelines used to build and deploy applications can also consume a lot of physical and financial resources. In addition, fast DevOps feedback loops improve the working conditions and efficiency of developers. As the creator of API Platform and Symfony Docker, two popular free software projects, I’ve been ..read more
Visit website
Symfony’s New Native Docker Support (Symfony World)
Kévin Dunglas » Symfony
by Kévin Dunglas
1y ago
I’m very excited to announce that after 6 years of teamwork, Symfony and API Platform now include an industry-first set of tools designed to automatically create, manage and run the Docker containers needed for your applications. Read my article on the Symfony blog Watch my Symfony World talk Browse my slides deck: The post Symfony’s New Native Docker Support (Symfony World) first appeared on Kévin Dunglas ..read more
Visit website
How Can JSON-LD Help You Sell More?
Kévin Dunglas » Symfony
by Kévin Dunglas
1y ago
By default, all data exposed by the Sylius API and all APIs using API Platform are formatted using JSON-LD, “JavaScript Object Notation for Linked Data”. This is no accident! Understanding and using JSON-LD can dramatically improve your offers’ reach and enhance the customer experience. In this talk, we will see how the RDF data model, shared vocabularies such as Schema.org, and the JSON-LD format are must-haves for any merchant who cares about SEO, or who wants to have good and automated integration with popular services such as Gmail and Google Calendar. Recording of this talk at SyliusCon ..read more
Visit website
Schema Generator 3: A Step Towards Redecentralizing the Web!
Kévin Dunglas » Symfony
by Kévin Dunglas
1y ago
I just released API Platform Schema Generator version 3! It’s a command-line tool, part of the API Platform framework, that instantly generates a complete PHP data model (classes, enumerations, ORM mapping, validation rules, web API definitions, PHPDoc…) from RDF vocabularies and ontologies. RDF vocabularies are commonly used to define web-scale (Schema.org), industry-wide (The NASA Air Traffic Management Ontology, The Automotive Ontology, AddictO Vocab) or organization-wide (EU Vocabularies, Volkswagen Vehicles Ontology) concepts and relationships. New Features Vocabulary support in versions ..read more
Visit website
Symfony ImportMaps: Manage Your JavaScript Dependencies Without Node
Kévin Dunglas » Symfony
by Kévin Dunglas
1y ago
View the recording of this talk (in French) View the Pull Request Yarn, NPM, pnpm, Babel, SWC, Webpack, TurboPack, Rollup, Parcel… Is it really necessary to introduce so much complexity to create a beautiful and interactive website? The Symfony UX initiative greatly simplified how to build frontend applications with Symfony by going back to the roots: server-side generated HTML (goodbye JSX, our good old Twig is back), and minimalist JavaScript thanks to Hotwire. However, to use Symfony UX, you still need to install, set up, and maintain an entire JS toolchain… which is no picnic. Is it still ..read more
Visit website
New in Caddy 2.5: Redact Sensitive Data from Your Logs
Kévin Dunglas » Symfony
by Kévin Dunglas
1y ago
Caddy is the rising star of web servers. It is fast, easy to configure, fully featured (automatic TLS certificate generation and renewal, HTTP/3, cloud-native, config hot reloading…), and secure (it is written in Go, not in C). Thanks to its unmatched extensibility that makes it a top-notch app platform, Caddy has a thriving ecosystem! To see how it is powerful, take a look at my Mercure (push capabilities) and Vulcain (client-driven hypermedia APIs) modules! Caddy is also the webserver powering API Platform and Symfony Docker. 4 days ago, after 1 year of work, Matt Holt released Caddy 2.5! Th ..read more
Visit website
JSON Columns and Doctrine DBAL 3 Upgrade
Kévin Dunglas » Symfony
by Kévin Dunglas
1y ago
Version 3 of the popular Doctrine DBAL library has been released at the end of 2020, almost 10 years after the initial release of version 2. In September 2021, Doctrine ORM 2.10 added support for DBAL 3, while still supporting DBAL 2 at the same time. Versions prior to 2.10 aren’t compatible with DBAL 3. The upgrade process from DBAL 2 to DBAL 3 is usually straightforward. Most breaking changes impact low-level classes, that aren’t commonly directly manipulated when using the ORM. However, things become more complex if you rely on JSON columns, and you may know that I’m a big user of them! Doc ..read more
Visit website

Follow Kévin Dunglas » Symfony on FeedSpot

Continue with Google
Continue with Apple
OR