Front-End Architecture 101 - Nir Kaufman @ ReactNYC
HTML-код
- Опубликовано: 28 авг 2018
- In this session, we will discuss front-end architecture, define what it is and how to leverage solid design principles to our system. Along the way, we will learn how React fits in with this puzzle and why frameworks are not a replacement to clean architecture.
Source code
github.com/demo-projects/reac... - Наука
Nice talk keep it up Nir!
Wow.. simply enlightening :)
Very nice explained. Low Coupling and High cohesion. Thanks.
Thanks for a Gr8 talk
I love the way u describe the soc
Some feedbacks:
- u say that entity doesn't need to depend anything but your book antity depend on stuff. (see the import, it depend on typeORM stuff which mean that u cannot just take it to another app, so it's not pure I dependency)
- related to the use case, bussniss logic part, again it's depend on mobax where u just need to depend on entities
What do u think?
Thanks
Beautiful.
Impressive!!!!!!!
Thank you 🙏🏻
Why would you use typescript if u write "@ts-ignore" in every tsx file?
Because MobX prefers to use decorators and those are only available in TypeScript.
Good theory part but poor demo which contradicts the theory in some cases like direct dependency on implementation details (MobX and TypeOrm)
great talk :) the only thing I don t agree is about vscode. I have used many ides and that one suits me best and it s free :D I can buy icecream with the saved money
Start using Webstorm and you could afford beer.
IDE will save you a lot of time worthing buying a license. GIT client, conflict resloving, refactor tools, plugins, real powerful autocomplete, highlights are on different level in webstorm. I cannot imaging being that productive using code editors
Good theory, and nice to introduce Type ORM which looks to be a good orm for node js. However from an architectural perspective, the code implementation ends up implementing our Domain, Application, and Infrastructure all of which should be entirely separate inside of what should simply just be the Presentation Layer. So it has mashed up all the other layers of a Clean Architecture inside the Presentation, and it is no longer a clean architecture.
do you have a good example about clean architecture
Thanks😜
Ayy the advanced redux patterns guy
Nope, it's his horse-brother-twin.
My evil horse-brother-twin
lmao
Why ORM on frontend?
Handsome man
And you just had to bash vscode. so low.
nice talk btw.
The concepts in this talk are great, but they are too many and too high level for a developer without a strong backend experience to grasp. I also prefer webstorm.
you don't need backend experience
Useless hardcoded HTML.
Very little substance in this talk. Not recommended.
The cohesive elements or categories of your application are the BookForm and the BookList, NOT "entities", "infrastructure" or "components".
You are building a BOOK STORE and not NOT entities, infrastructure and components.
If you talk about architecture, F*IN APPLY IT!
15:05 bad advice - any app should be built from GUI and not other way around. Data structure should be defined by GUI and not buy some lazy backend dude.
Anne Smith then what will you do when GUI changes?
@@DmitriySidorenko Use your brain, babe.
Data structure should be dictated by the data and the way it is to be used and manipulated....
@@m12652 Wrong approach. The better your data the less work you do on front. Unless you are a slave who binds all data manually.
Anne Smith I think we’ve crossed. Get the data structure right and you can do what you like with the interface, it will always be natural. Get it wrong and you can still do a great interface but the amount of overhead goes through the roof. A good interface does necessarily lead to a good data structure, though designing one before you start often helps. A bad data structure only gets worse. Couldn’t watch all this video btw, bailed after 5 as he wasn’t saying anything new.