Francesco Barbera (@francescoWithAI) header
Francesco Barbera (@francescoWithAI) profile picture

I build software with AI in a practical way. No hype.

Morbegno, Lombardia
Joined June 2009
Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)Photo by Francesco Barbera (@francescoWithAI)
Francesco Barbera retweeted
La piattaforma di streaming si รจ offesa tantissimo ๐Ÿคฃ Ci spostiamo su YT per il talk di @barberaf84, ""Magia digitale: un piccolo progetto per il controllo di lampadine smart". #phpday #PUGedition #community #developer
1
2
91
๐—”๐—ฟ๐—ฒ ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ ๐—ฆ๐˜๐˜†๐—น๐—ฒ๐˜€, ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€, ๐—ฎ๐—ป๐—ฑ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ ๐——๐—ถ๐—ณ๐—ณ๐—ฒ๐—ฟ๐—ฒ๐—ป๐˜? I frequently see confusion between architectural styles, patterns, and design patterns. These terms are often unclear, and different people give them different meanings. Let's try here to define it a bit more precise: ๐Ÿญ. ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฎ๐—น ๐˜€๐˜๐˜†๐—น๐—ฒ๐˜€ This is the highest level of abstraction where architectural designs instruct us on how to structure our code. The highest level of granularity describes the application's layers and high-level modules and how they relate to and interact with one another. Examples of architectural styles include: ๐Ÿ”น Monolith ๐Ÿ”น Layered ๐Ÿ”น Event-driven ๐Ÿ”น Self-contained Systems ๐Ÿ”น Microservices ๐Ÿ”น Space-Based ๐Ÿฎ. ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฎ๐—น ๐—ฝ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ These patterns represent a way to implement an architectural style, in the sense that we can do this regularly. Some examples are how to separate the user interface (UI) and data, how internal modules will interact with each other, and what layers we will use. Patterns answer these types of questions. They usually have an impact on the code base, how to structure the code inside. Examples of architectural patterns include: ๐Ÿ”น Model-View-Presenter (MVP) ๐Ÿ”น Model-View-Controller (MVC) ๐Ÿ”น Modelโ€“Viewโ€“Viewmodel (MVVM) ๐Ÿ”น Domain-Driven Design ๐Ÿฏ. ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฝ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ These are different from architectural patterns in that they are more focused on a smaller area of the code base and have a smaller influence (focus on a local problem). These might include limiting the creation of a class to only one object or notifying all dependent objects when the internal state of an object is changed. These patterns are described in the book "Design Patterns: Elements of Reusable Object-Oriented Software." We have ๐˜๐—ต๐—ฟ๐—ฒ๐—ฒ ๐—ด๐—ฟ๐—ผ๐˜‚๐—ฝ๐˜€ ๐—ผ๐—ณ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€: ๐Ÿ”น ๐—–๐—ฟ๐—ฒ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น: here we have Factory Method, Builder, Singleton, ... ๐Ÿ”น ๐—ฆ๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฎ๐—น: here we have Adapter, Bridge, and Decorator, ... ๐Ÿ”น ๐—•๐—ฒ๐—ต๐—ฎ๐˜ƒ๐—ถ๐—ผ๐—ฟ๐—ฎ๐—น: here we have Command, Iterator, State, Strategy, ... #technology #softwareengineering #softwarearchitecture #programming #developers
3
17
43
2,936
Francesco Barbera retweeted
A colleague asked me to write what are my principles when designing an architecture. I thought it would be good to share them with you: gist.github.com/mcollina/7daโ€ฆ Should I turn it in a blog post?
88%Yes
2%No
10%๐Ÿฟ
462 votes โ€ข Final results
10
10
57
As I watch ppl attack Biden for his inability to predict the future, I wonder about how, in business, people are also punished for not predicting the future (i.e. estimating). Ppl seem to think prognostication is an inherent human ability, and weโ€™re faulty if we canโ€™t do it. ๐Ÿค”
5
6
1
35
Flexbox โžก๏ธ Flexible blocks based on your content and the sizes of it Grid โžก๏ธ Blocks that have a fixed size
2
1
5
Francesco Barbera retweeted
A Design System without code backing it is just a Design Suggestion.
17
145
13
942
Francesco Barbera retweeted
I've been thinking a lot in the last few days, how a code editor/IDE focused on React could looks like. So it brings me to this:
41
107
12
1,223
Francesco Barbera retweeted
4
152
10
775
Code is the realization of an ongoing conversation, not the implementation of a spec.
4
25
2
141
Francesco Barbera retweeted
โšก Wallaby "Thanks for Inspiring me" Contest โšก Tell us about someone/something that inspired you ๐Ÿ‘ and go in the draw to win some awesome prizes. ๐Ÿคฉ 3 x @kentcdodds courses to win + wallabyjs.com/ and quokkajs.com/ licenses Rules/Prize Details ๐Ÿ‘‡
79
84
4
121
Francesco Barbera retweeted
Federico Luzzi, a :m team player, has just written an interesting article about #Ethereum, a second generation #blockchain that allows you to freely and transparently exchange value (money) but not only. Learn more about it: https://nitter.gq/t.co/bHkvKZd8S1 #BCorp #BtheChange #Innovation
1
3
Francesco Barbera retweeted
Let the Worldwide Gameplay Reveal of Baldur's Gate 3 begin! youtube.com/watch?v=7bRyG5Wpโ€ฆ
227
484
213
1,752
Francesco Barbera retweeted
Is this Docker?
121
2,161
210
9,573
Francesco Barbera retweeted
My feelings about React hooks are mixed, but I do feel strongly about one thing: there's no way React would have gained its current popularity if this was the starting place.
11
13
6
127
Francesco Barbera retweeted
Creating #PositiveImpact through our services is our passion, in fact we offer a discount to our client in exchange for their effort on a joint project with us to create impact - proud to #BestForTheWorld #Overall! #mondora #BCorp #BCorporation #BTheChange #BestForTheWorld2019
Francesco Barbera retweeted
We #celebrate our #failures with a party in order to become better. Thanks to the possibility of failing and #improving ourselves we become #ChangeMakers - proud to #BestForTheWorld ChangeMakers! #mondora #BCorp #BTheChange #BestForTheWorld2019 #FailureParty #Innovation #Tech
3
5
Francesco Barbera retweeted
"Lโ€™intelligenza artificiale รจ bella, se usata bene: esistono cose fantastiche, come il riconoscimento delle emozioni..." Continua a leggere sul nostro blog: https://nitter.gq/t.co/XlArpQXmMR #mondora #BCorp #BTheChange #BlogPost #Accessibility #Inclusion #Technology #AI #Benefit
3
3