Feature Toggles & Trunk Based Development | How To and How NOT To

  Рет қаралды 14,787

Cognitive Programmer

Cognitive Programmer

Күн бұрын

No matter how good the software is, unless we deliver the same in a seamless way to the end users, they will not be able to use it.
Today we're talking about Feature Toggles and trunk based Development, a part of DevOps which helps to deliver the software effectively, efficiently and with minimal bugs.
This dual entity is called Feature Toggles and Trunk based Development. In this video, I'm explaining what are feature toggles and how to make use of it to enable trunk based development.
Hope this video helps you in your learning journey and you'll like this video
Timecodes
0:00 : Feature Toggles and Trunk Based Development
1:49 : Branching Strategy - git flow etc
4:19 : Trunk Based Development
5:20 : Feature flags - checking in unfinished features
8:13 : How to implement Feature Toggles
9:40 : Types of feature toggles static and dynamic toggles
11:27 : Life cycle of a Toggle - short lived vs long lived
12:16 : Examples of Good and Bad toggles
13:43 : How Not to use feature toggles
#featureflags #trunkbaseddevelopment #branching #gitflow #featurtoggles
ABOUT ME -
Greetings Everyone, I am Daksh (Officially - Deepak K G). I'm a Techie with more than 20 years of work experience and I've created this channel Code Sports (also CodeSports.ai ) to share the crux of my learning with an intention to help you in your learning journey.
I'll primarily create contents on Software Development Ecosystem which will included the following
- Programming Languages
- Machine Learning
- Cloud Computing
- Databases
- Working as a Team
- Requirements Management
- Frameworks and Estimations
- Gamification Techniques
I'm also an explorer by nature and I love to discover and explore things. I'd like to share all those thing which I think is worth sharing.
Last but not the least, I' m a traveler and would like to take you with me on some of the interesting journeys around the world. Believe me there is more to learn outdoors than indoors
Hope you'll join me in my journey 🙏🙏🙏
SUBSCRIBE - kzbin.info?...
INSTAGRAM - www.intagram.com/CodeSportsAI
Twitter - / codesportsai
Facebook - / codesportsai

Пікірлер: 38
@kgck15
@kgck15 2 жыл бұрын
very neatly explained. Happy to have found this. I watched this and went around looking for other videos, later came back and watched this again, it all made so much sense. best content!.
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thank you so much for your kind words 🙏
@miyazakizachary5108
@miyazakizachary5108 2 жыл бұрын
Great video. I have watched a lot of trunk-based development strategy and feature toggles/flags talks. This is by far the best and most concise explaining these ideas. Besides, your advice on feature toggles implementations is very useful. Thanks.
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thank you so much for your kind comment 🙏
@user-pc1pm1vb7p
@user-pc1pm1vb7p 5 ай бұрын
How to implement feature toggles ? please tell , i'm confused !!!
@z960849
@z960849 Жыл бұрын
Good video. BTW I like this quote you made "Whatever things that gives us life, can take our lives too"
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you so much for your comments 🙏
@Anish-iw6ph
@Anish-iw6ph 2 жыл бұрын
Clear Explanation and Helpful.
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@ravishanker5877
@ravishanker5877 Жыл бұрын
Very clearly explained in a very simple manner with clear and concise examples, but showcased a broader view of the main concepts.
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks for your comment 🙏
@fahadaijaz4
@fahadaijaz4 5 ай бұрын
Great video
@dpskatoo75
@dpskatoo75 2 жыл бұрын
Nice explanation, thanks!
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@rangCRJ
@rangCRJ 3 ай бұрын
Please use a good mic for better voice recording. This can help the channel grow by making the content more accessible to all.
@Cognitive-Programmer
@Cognitive-Programmer 3 ай бұрын
Thank you so much for your valuable feedback 🙏
@user-si7gh3gw5e
@user-si7gh3gw5e Жыл бұрын
Great explanation! Thanks!
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks Ford your comment 🙏
@user-pc1pm1vb7p
@user-pc1pm1vb7p 5 ай бұрын
where to write this code of turning off the feature br changes before it is fully completed ???
@anshulkatare
@anshulkatare 2 жыл бұрын
Can you give an example of different strategies of different type of toggles. Also implementation of DI, Beans etc for it. Thanks
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thank for your comment.. If I understood your comment correctly.. strategy is what individual organisations and team domains.. the idea of dependency injection and beans are programming constructs used to implement new features It will need a separate video to explain 🙏
@aayushiagarwal8063
@aayushiagarwal8063 8 ай бұрын
Thank you so much. Could you please explain how to plan releases with trunk based development. With a single branch, at what point of time we are saying we are good to go on production.
@Cognitive-Programmer
@Cognitive-Programmer 8 ай бұрын
Thank for your comment, in general you can mark a point in the trunk, do all the testing and release, in the meantime people can continue working on the same. Hope it helps, Thank 🙏
@user-pc1pm1vb7p
@user-pc1pm1vb7p 5 ай бұрын
to achive this feature toggle , do we have to write terraform code ???
@ShariqueAkhtar99
@ShariqueAkhtar99 2 жыл бұрын
Pretty useful
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@user-pc1pm1vb7p
@user-pc1pm1vb7p 5 ай бұрын
where to write this code of turning off the feature br changes before it is fully completed ???
@terencetcf
@terencetcf Жыл бұрын
I think what's really challenging is changes that are required data structure change. Meaning the object shape can be quite different before and after the change.
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks for your comment 🙏 Your assessment is correct, but here you can maintain a parallel feature version till it gets stabilises. There could be other ways also
@benjaminmoseslieb9856
@benjaminmoseslieb9856 Жыл бұрын
I feel the same way, but after exploring feature toggles today, I like it more and more. I would be so nice to be able to toggle new or changed features on/off. I was imagining that you might need a toggle migration. The toggle migration would alter the database (rename fields and re-popluate duplicate fields) and swap the toggle flag.
@dinobulja
@dinobulja Жыл бұрын
Hello, You replaced feature branches with branches you call "near-to-main" branches. I don't understand how that resolves issues with feature-branches. You still have to merge / integrate frequently. Are you saying while there are many "feature branches" you only have one "near-to-main" branch? Could you elaborate? Thanks
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
hi Feature branches are alive for a long time and at the same time changes continue to happen in the main branch. The idea behind near to main branch is the you check-in your codes to the main branch on a regular basis so that we can catch any issues early. Hope this helps
@dinobulja
@dinobulja Жыл бұрын
@@Cognitive-Programmer Frequent merge/integration is a recommended way for feature branches so no they are not long living if you follow that plus long living feature branches are not recommended. So it is still the same. But mind answering my other question and thank you
@Brajgamer
@Brajgamer 7 ай бұрын
​@@dinobuljaI think the major difference in feature based branching and this is that in the former approach we usually have dev QA uat branches and so on But by the time a feature travels through all these envs, it becomes too late and results in all sorts of issues and less confident release.
@Brajgamer
@Brajgamer 7 ай бұрын
How refactoring fits into this? Since it can't be behind a toggle
@Cognitive-Programmer
@Cognitive-Programmer 6 ай бұрын
Great Question? Consider refactoring as another piece of work, which can impact the existing functionality. you can do it in small steps, or create a short term toggle for the refactored code and then replace it after stabilization of the same. Hope I answered your question 🙏
@Brajgamer
@Brajgamer 6 ай бұрын
@@Cognitive-Programmer Thanks for taking time to answer.
@user-pc1pm1vb7p
@user-pc1pm1vb7p 5 ай бұрын
where to write this code of turning off the feature br changes before it is fully completed ???
code.talks 2023 - Our journey from Gitflow to Trunk Based Development
38:45
code.talks (ehem. Developer Conference)
Рет қаралды 3 М.
Real Programmers Commit To Master - Jakob Ehn
47:04
Swetugg
Рет қаралды 58 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 38 МЛН
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,3 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 84 МЛН
Почему Trunk based development вместо Git Flow?
17:20
PurpleSchool | Anton Larichev
Рет қаралды 21 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 208 М.
Branching Strategies Explained
18:19
DevOps Toolkit
Рет қаралды 127 М.
Feature Flags | Feature Toggles | What are Feature Flags | TTT | Cuelogic
8:46
Cuelogic Technologies | An LTIMindtree Company
Рет қаралды 11 М.
Why CI is BETTER Than Feature Branching
16:09
Continuous Delivery
Рет қаралды 72 М.
The Problem With Microservices
17:47
Continuous Delivery
Рет қаралды 428 М.
What is the "best way" to develop software applications?
18:37
Web Dev Cody
Рет қаралды 263 М.
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 2,1 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,3 МЛН
МОЩНЕЕ ТВОЕГО ПК - iPad Pro M4 (feat. Brickspacer)
28:01
ЗЕ МАККЕРС
Рет қаралды 85 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,2 МЛН
DC Fast 🏃‍♂️ Mobile 📱 Charger
0:42
Tech Official
Рет қаралды 485 М.