Articles

Libérer la synergie Java-MongoDB pour alimenter les applications d'entreprise

Libérez le potentiel de la synergie Java-MongoDB pour alimenter et améliorer les performances des applications d’entreprise !

## La fusion de Java et MongoDB: Explorons les possibilités pour les applications d’entreprise

Dans le paysage en constante évolution des applications d’entreprise, la nécessité d’une gestion efficace des données et d’une scalabilité n’a jamais été aussi critique. A l’ère numérique, où le volume de données générées et traitées quotidiennement est stupéfiant, maîtriser le pouvoir des bases de données modernes est primordial. MongoDB, une base de données NoSQL de premier plan, est devenue une solution robuste pour gérer les données non structurées et semi-structurées qui sous-tendent de nombreuses applications. Lorsque MongoDB s’associe à Java, les possibilités sont infinies, ce qui donne une combinaison dynamique qui peut propulser vos applications d’entreprise vers de nouveaux sommets.

Cet article complet s’intéressera de près à la fusion de Java et de MongoDB, explorant diverses façons de soutenir cette amalgamation dans les applications d’entreprise. Le mariage de Java, un langage réputé pour sa fiabilité, sa compatibilité multiplateforme et son vaste écosystème, avec MongoDB, une base de données hautement flexible et scalable, ouvre un monde de possibilités. Nous explorerons comment les développeurs et les entreprises peuvent tirer parti de cette synergie pour créer des applications robustes et à hautes performances.

En particulier, nous examinerons comment MongoDB peut être utilisé pour stocker et gérer les données volumineuses et complexes qui sont générées par les applications d’entreprise. Nous verrons également comment Java peut être utilisé pour extraire des informations à partir des bases de données MongoDB et pour interagir avec elles. Enfin, nous aborderons les avantages et les inconvénients de l’utilisation conjointe de Java et MongoDB pour les applications d’entreprise.

Source de l’article sur DZONE

Apple has released an OS update. Packaged in with it is the latest version of Safari, 16.

Expected to be released ahead of next month’s macOS 13, Safari 16 is packed with updates, making it one of the most capable browsers available.

For web designers, the significance is the forward momentum in web technologies that enable freer design work and fewer hacks to achieve complex layouts. Little by little, CSS recommendations are being implemented to the point that using JavaScript for layout is rapidly becoming as unnecessary as it is disliked.

Some of this was announced in June in the Safari 16 beta. But a lot has been added in the last couple of months. So here’s what’s new in Safari 16 today.

CSS Container Queries

The most exciting addition to Safari 16 is CSS Container Queries.

It is hard to understate how in-demand this feature has been; if you imagine an edit button on Twitter that gifted you crypto every time you corrected a typo, you’d be getting close to how popular this feature is.

Until now, media queries have detected the whole viewport. And so, if you have an element like a card, for example, that needs to change at smaller viewports, you need to calculate the available space and adapt the element’s design accordingly. Unfortunately, this frequently gets out of sync with edge cases causing more than a few headaches for front-end developers.

Media queries are severely restrictive to modern layout methods like Grid that wrap elements automatically because there is no way to detect how the elements are laid out.

Container Queries solve this by allowing you to define styles based on the size of the actual containing element; if a div is 300px wide, the contents can have one design, and if it’s 400px wide, they can have a different design—all without caring what size the whole viewport is.

This is dangerously close to OOP (Object Orientated Programming) principles and almost elevates CSS to an actual programming language. (All we need is conditional logic, and we’re there.)

The latest versions of Chrome, Edge, and now Safari (including mobile) support CSS Grid. Even discounting the rapid decline of Twitter, this is way more exciting than any edit button.

CSS Subgrid

Speaking of Grid, if you’ve built a site with it (and if you haven’t, where have you been?), you’ll know that matching elements in complex HTML structures often results in nesting grids. Matching those grids requires careful management, CSS variables, or both. With CSS Subgrid, grids can inherit grid definitions from a grid defined higher up the hierarchy.

CSS Subgrid has been supported by Firefox for a while but is not yet part of Chrome or Edge. Until there’s wider support, it’s not a practical solution, and using a fallback negates any benefit of using Subgrid. However, its introduction in Safari will surely herald rapid adoption by Google and Microsoft and moves the web forward considerably.

CSS Subgrid is likely to be a practical solution within 18 months.

AVIF Support

AVIF is an exceptionally compact image format that beats even WebP in many instances. It even allows for sequences, creating what is essentially an animated GIF but smaller, and for bitmaps.

AVIF is already supported by Chrome, with partial support in Firefox. Safari now joins them.

AVIF support is one of the more valuable additions to Safari 16 because you’re probably already serving different images inside a picture element. If so, your Safari 16 users will begin receiving a smaller payload automatically, speeding up your site and boosting UX and SEO.

Enhanced Animation

Safari 16 introduces some significant improvements in animation, but the one that catches the eye is that you can now animate CSS Grid.

Yes, let that sink in. Combine Container Queries and animation. The possibilities for hover states on elements are tantalizing.

Safari 16 also supports CSS Offset Path — known initially as CSS Motion Path — which allows you to animate elements along any defined path. This enables the kind of animated effect that previously needed JavaScript (or Flash!) to accomplish.

Chrome, Edge, and Firefox all support CSS Offset Path; the addition of Safari means it’s now a practical solution that can be deployed in the wild.

Web Inspector Extensions

Announced as part of the beta release, Web Inspector Extensions allow web developers to create extensions for Safari, just as they would for Chrome.

Web Inspector Extensions — or Safari Extensions as they’re destined to be known — can be built in HTML, CSS, and JS, so the learning curve is shallow. It’s a good route into app development for web designers.

Because the underlying technology is the same as other browser extensions, anyone who has made a Chrome, Edge, or Firefox extension will be able to port it to Safari 16+ relatively easily. As a result, there should be a rapid expansion of the available extensions.

Improved Accessibility

Accessibility is key to an effective and inclusive web. Be like Bosch: everybody counts, or nobody counts.

When testing a design for accessibility, emulators don’t cut it. In my experience, Safari has some of the most reliable accessibility settings, especially when it comes to Media Queries like prefers-reduced-movement.

Further gains in this field mean that Safari continues to be an essential tool for QA tests.

Reduced Resets

Finally, I want to throw up my hands to celebrate the reduced number of non-standard CSS appearance settings.

For years we’ve been prefacing our style sheets with elaborate resets like Normalize, designed to undo all the assumptions browser developers make about design and the UI preferences of their engineers.

Safari 16 has reportedly “Removed most non-standard CSS appearance values.” How effective this is and how much we can rely on it given the other browsers on the market remains to be seen. However, like many of Safari 16’s changes, it’s a step towards a browser that’s on the developers’ side instead of an obstacle to overcome.

Source

The post Exciting New Features in Safari 16 first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot

Typefaces give expression to text, communicating personality in a way that no other design element can. And so, we put together this collection of the best new fonts we’ve seen on the web each month.

This month’s collection of fresh new fonts includes some typefaces that push boundaries in subtle but irresistible ways, a few retro fonts that evoke specific eras, and some exceptionally well-drawn examples of classic themes.

Gazzetta

Gazzetta is a condensed typeface with soft curves and sharp joins that gives it plenty of personality at display sizes while still being highly practical.

Bacalar

Bacalar is an intriguing variable font inspired by the Yucatan peninsula in Mexico. The bold, simple shapes are contrasted by extreme tapers that create dynamic shapes.

Monden

Monden is a high-contrast serif with an interesting slant applied to the lowercase h, m, and n. This “kick” adds a modern richness to blocks of text.

Flecha

Flecha is a sharp typeface with precise, simplified shapes that make it ideal for digital use. There is a range of styles and weights that provide flexibility.

Wonder Varelia

Countless calligraphic script fonts are available, but few are executed with the same elegance as Wonder Varelia. It works best as concise display text.

Okkult

Okkult is inspired by 70s horror films. It’s a great alternative choice for Halloween, Stranger Things-style retro designs, and hard-rock bands.

Southern Beach

Southern Beach is a classy script typeface that feels carefree and optimistic. It would work well as the logotype for a hotel, a travel company, or a restaurant.

Connection

Connection is a beautifully drawn typeface that makes unexpected decisions to create interest in what is otherwise a traditional design.

Lokeya

Lokeya is a playful sans-serif with a distinctly modern-French style. It includes several stylistic alternatives to enliven word shapes and is excellent for brand work.

Grtsk

Grtsk is an exceptionally flexible set of fonts with two writing systems, six widths, and seven weights that are also available as one highly-practical variable font.

Beast Head

Beast Head is an expressive brush script packed with energy. It’s a great branding option for gyms, workout clothing, energy drinks, and music events.

Happy Monday

Happy Monday is a retro script font that evokes the late-60s and early-70s. It’s a laid-back option for T-shirts, branding, and editorial work.

TT Espina

TT Espina is a serif face with extreme contrasts and particularly large serifs. The bold weight swells unevenly on the counters, creating a unique aesthetic.

Spookyman

Horrifyingly, Halloween is just around the corner, and if you’re looking for a spooky font for seasonal promotions, look no further than Spookyman.

Quebra

Quebra is a useful sans-serif for projects that need a range of widths. At small sizes, it feels corporate and reserved; at larger sizes, more human details begin to emerge.

Source

The post 15 Best New Fonts, September 2022 first appeared on Webdesigner Depot.

Source de l’article sur Webdesignerdepot


Man on the computer.

Introduction

Relational databases distribute their data across many tables by normalization or according to business entities. This makes maintaining a growing database schema easier. Real-world queries often span across multiple tables, and hence joining these tables is inevitable.

PostgreSQL uses many algorithms to join tables. In this article, we will see how joins work behind the scenes from a planner perspective and understand how to optimize them.

Source de l’article sur DZONE

The Hasura platform’s data microservice provides an HTTP API to query Postgres using GraphQL or JSON in a permission safe way.

You can exploit foreign key constraints in Postgres to query hierarchical data in a single request. For example, you can run this query to fetch “albums” and all their “tracks” (provided the “track” table has a foreign key to the “album” table):

Source de l’article sur DZONE