Сучасна диджитал-освіта для дітей — безоплатне заняття в GoITeens ×
Mazda CX 5
×

Прямая трансляция: PHP fwdays’19

Конференция PHP’19 пройдет 01 июня в Киеве.

Детальнее о конференции: dou.ua/calendar/24057

Приглашаем вас присоединиться к видео и текстовой трансляции:

Видеотрансляция

Текстовая трансляция

👍ПодобаєтьсяСподобалось0
До обраногоВ обраному0
LinkedIn
Дозволені теги: blockquote, a, pre, code, ul, ol, li, b, i, del.
Ctrl + Enter
Дозволені теги: blockquote, a, pre, code, ul, ol, li, b, i, del.
Ctrl + Enter

Code is nothing without the community © Fabien

Symfony 4 is the fastest framework around

Symfony has predictable releases and fully support

Typical features to the next level
1. How to send emails? — With Symfony 4 you can make it from Controller, moreover you can send rich and responsive emails from Controller via your provider’s API

Symfony 4 — full stack really quick

Symfony maker bundle allows you easily create bunch of things

Packs — bundle several dependencies into a consistent set

You have only 25 dependencies which is absolutely incredible

New directory structure, less depth, easy to navigate

Symfony 4 is lightweight in all meanings

Symfony 4 skeleton has not so many dependencies

What is Symfony 4? A new developer experience on a rock solid foundation

І нарешті остання довгоочікувана доповідь засновника Symfony framework Fabien Potencier «Symfony 4 in action»

Thruway — Open source client and router implementation of WAMP for PHP

PubSub — WAMP клиенты общаются через дилера

WAMP имеет структуру <клиент-клиент> + маршрутизатор(роутер)

Development of multi-process runtime applications in PHP by Igor Karpenko

.

Amazon could be expensive, so firstly think if you have enough resources to use it.

Start with small Burstable Performance instanced — T3 family

Cloud hosting is the best decision you could ever make, of course not without troubles, but still it helps you to manage your services in the most comfortable way.

Hosting:
— bare-metal physical servers
— VPS/VDS
— Cloud-hosting
— Hybrid hosting

Try to imagine your architecture stack in the future and check information about the scalability of used backing services

File storage:
Define access rules
Define importance and possible access frequency
Save main file properties to the DB

Use separated DB connection for Read and Write

Your application should be stateless!

Configuration with dotenv package help you avoid conflicts inside your project

Twelve factor application:
1. Codebase
2. Dependencies
3. Configuration

Scaling, why do we need it?
1. Support more traffic
2. Support more active users
3. Increase system performance

Alexander Torosh “Projects scaling with Amazon Web Services”

Monday is not just the most difficult day in the week, but also that day when you can change your project and make it less vulnerable.

Update dependencies on server side and log mutable requests

Services isolation. Services that communicate randomly and chaotically with many other services are vulnerable.

Filter every part of the traffic you get.

Whitelist-based development! Firstly forbid everything and then if it is needed give an access

Starbucks let you buy gift cards without validation of your payment🤷‍♀️

Strong hash functions give you time to react.

The plaintext passwords were saved by FB developers. Do not follow their faults.

Don’t forget to use prepared statements

Never blindly trust Open Source :)

Open source понад всі свої недоліки краще closed-source

95% проектів в інтернеті це open-source код

Концепція швейцарського сиру — уразливі місця вашого проекту

Дмитро Науменко. Ваш веб застосунок уразливий!

Если вы собрались писать свой API Gateway, лучше не пишите) потому что саппорт и сопровождения будет вам стоить значительно больше времени и ресурсов, рассмотрите существующие решения.

— Как должны общаться микросервисы?
— Есть множество подходов для того чтобы реализовать общение микросервисов. Message bus, SDK, Gateway, все зависит от конкретных требований.

— Где начинается и заканчивается микросервис?
— Микросервисы разделяются бизнес сущностями

Going wild with Microservices Discussion

— How to debug all this stuff?
— You could debug it using specific configuration

Memory leaks and resources leaks you would meet while trying to build async systems. But keep calm, you could deal with it

— Should we all go async?
— Not yet...

Асинхронні програми дозволяють вам не пришвидшити швидкість виконання процесів, а одночасно обслуговувати більше клієнтів.

Підписатись на коментарі