Let’s continue the series about technical strategy. In the first blog post, I’ve detailed what technical strategy is and why it is important. In this article, you will find more about what the technical strategy should contain for a particular product.
A few things need to be well defined, clearly communicated and constantly repeated. Before we dive in, a caveat: some of them apply to certain phases in the lifetime of a product. A sole developer can keep the strategy in her head; however, when the product has 10000 lines of code and 10 developers, that’s no longer attainable. Things get much more difficult when 30 teams of 9 people work on the same product. Detailing all possible needs for all possible contexts is impossible. I will instead give a few examples from my experience working with Mozaic Works customers.
The software architecture fits our “strategy explanation” perfectly. It is usually difficult to change, and all developers have to live with it for the lifetime of the product.
When we talk about software architecture, we look at a few areas:
Cross-functional requirements like scalability, performance, security, reliability, logging and exception handling etc.
The most common goals of software architecture are:
A working application that does what’s required
That runs for as long as possible
Reduced development and deployment costs
Software architecture is influenced by things such as availability of developers, budget, and type of application, among other things.
Testing strategy
Testing strategy refers to:
what types of automated tests are used
who writes them
when they are executed
what areas are covered by manual testing
who does the manual testing
when manual testing is performed
The purpose of the strategy is usually to have an efficient testing process that can be used for a long period of time. The improvements we’re looking for are:
reduced time spent on repetitive work (manual testing based on a plan)
reduced number of regressions
reduced number of issues reported by users
as little time spent writing automated tests as possible
When we help our customers create the technical strategy, we start from the pyramid of tests, explain each type of test, sometimes write a few examples, and then write a document that describes all the above. This often includes examples from their production code. Sometimes, we make a presentation of the strategy to the whole team or help the leaders prepare that presentation. In other cases, we help with the execution of the strategy by training or mentoring developers and testers on automated testing.
Configuration management strategy
The configuration management strategy refers to:
what source control system is used
when branches are created and by whom
how branches are named
when branches are merged and by whom
what branches are deployed
who deploys them
when they are deployed
when a version is tagged and by whom
if there’s a code freeze period, when it starts and when it ends
what is the connection between branches, tags and deployed versions of the application
The purpose of the configuration management strategy is to have a seamless development process and a very clear connection between deployed versions and source code commits. We’re looking for things like:
reduce time spent merging and merge conflicts
keep the number of branches under control
maintain the branches as short-lived as possible to reduce inventory and merge conflicts
know what each branch is for
know exactly where to look when a bug is reported in an older version
The source control system, the number of teams, the overall development process, and many other factors lead to very different strategies. Like the previous one, it doesn’t live in a vacuum; it has a strong connection with things like continuous integration, automated testing, product versioning, etc.
Code quality strategy
Everyone needs code quality, at least declaratively, but what does that mean? How do you ensure it? Who is responsible for it? How do you measure it?
From all the examples, this is the fuzziest and the highest variability. Depending on the customers’ context, we’ve recommended one or more of the following:
Coding guidelines: a 2-page document with the most important things to do and not to do when writing code
Clean code: following rules detailed by Robert C. Martin in the book with the same name
Exception and logging policy: a max. 5-page document detailing what types of errors can appear in the application, how they are treated, what is logged and how
Code review policy: who does code reviews and when, how issues are corrected and when they are analyzed
Design principles: 4 principles of simple design, SOLID and/or the UNIX design principles
Design guidelines: what other things should a developer think of when designing the code, and how to check them
Design patterns: starting from the Gang of Four patterns, going into enterprise integration patterns and other sets
Using TDD: an incremental software design process, well fit for fast-moving development
The list is incomplete yet can look overwhelming. It’s important to understand that not all these things need to have strong rules. We love all these practices at Mozaic Works and apply them for our products at MozaicLabs. But the customers’ needs are more important than our preferences.
Therefore, our advice is to add only the ones that solve a business problem. For example, if you don’t have a lot of bugs, yet development moves too slow, refactoring and TDD might help you. If you find a lot of issues, bug root-cause analysis, code review, and pair programming are quick wins.
How do you apply the technical strategy for a specific product? What is your experience? Share with us lessons learned in a comment.
Check below the other 2 articles from this series:
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
var astra = {"break_point":"921","isRtl":"","is_scroll_to_id":"1","is_scroll_to_top":"1","is_header_footer_builder_active":"1","responsive_cart_click":"flyout","is_dark_palette":"","revealEffectEnable":"","ajax_url":"https://mozaicworks.com/wp-admin/admin-ajax.php","infinite_count":"2","infinite_total":"0","pagination":"infinite","infinite_scroll_event":"scroll","no_more_post_message":"No more posts to show.","grid_layout":{"desktop":"3","tablet":1,"mobile":1},"site_url":"https://mozaicworks.com","blogArchiveTitleLayout":"","blogArchiveTitleOn":"","show_comments":"Show Comments","enableHistoryPushState":"1","masonryEnabled":"","blogMasonryBreakPoint":"0","shop_infinite_count":"2","shop_infinite_total":"0","shop_total_products":"1","shop_pagination":"number","shop_infinite_scroll_event":"scroll","shop_no_more_post_message":"No more products to show.","shop_result_count_format":"Showing 1\u2013{count} of {total} results","checkout_prev_text":"Back to my details","checkout_next_text":"Proceed to payment","shop_quick_view_enable":"disabled","shop_quick_view_stick_cart":"","shop_quick_view_auto_height":"1","woo_cart_empty_featured_product":"","single_product_qty_ajax_nonce":"34912f3321","quick_view_nonce":"6cbc881101","single_product_ajax_add_to_cart":"1","single_product_ajax_url":"/?wc-ajax=astra_add_cart_single_product","is_cart":"","is_single_product":"","view_cart":"View cart","cart_url":"https://mozaicworks.com/cart","checkout_url":"https://mozaicworks.com/checkout","add_to_cart_options_single":"rt_add_to_cart","is_astra_pro":"1","shopRevealEffectEnable":""};
//# sourceURL=astra-theme-js-js-extra
document.addEventListener( 'wpcf7submit', e => turnstile.reset() );
//# sourceURL=cloudflare-turnstile-js-after
var astraAddon = {"is_elementor_active":"","sticky_active":"1","svgIconClose":"\u003Cspan class=\"ast-icon icon-close\"\u003E\u003C/span\u003E","hf_account_show_menu_on":"hover","hf_account_action_type":"link","hf_account_logout_action":"link","header_main_stick":"1","header_above_stick":"","header_below_stick":"","stick_header_meta":"","header_main_stick_meta":"","header_above_stick_meta":"","header_below_stick_meta":"","sticky_header_on_devices":"both","sticky_header_style":"none","sticky_hide_on_scroll":"1","break_point":"921","tablet_break_point":"768","mobile_break_point":"544","header_main_shrink":"1","header_animation_effect":"none","header_logo_width":"","responsive_header_logo_width":{"desktop":200,"tablet":"","mobile":150},"stick_origin_position":"","site_layout":"ast-full-width-layout","site_content_width":"1070","site_layout_padded_width":"1200","site_layout_box_width":"1024","header_builder_active":"1","component_limit":"10","single_product_sticky_product_image":"","single_product_sticky_product_image_top_offset":"0","cart_sticky_cart_totals":"","order_review_toggle_texts":{"toggle_show_text":"Show Order Summary","toggle_hide_text":"Hide Order Summary"},"check_user_exist_nonce":"9002183c9a","woocommerce_login_nonce":"c16daba31a","is_logged_in":"","user_validation_msgs":{"error_msg":"Entered user detail is not a valid.","success_msg":"This user is already registered. Please enter the password to continue.","login_failed_msg":"Login failed. Please reload the page and try again.","invalid_email_msg":"Please enter a valid email address."},"checkout_order_review_sticky":"","cartflows_version":"","is_registration_required":"1","is_complete_package":"1","is_header_builder_active":"1"};
//# sourceURL=astra-addon-js-js-extra
var xoo_wsc_params = {"adminurl":"https://mozaicworks.com/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","qtyUpdateDelay":"500","notificationTime":"5000","html":{"successNotice":"\u003Cul class=\"xoo-wsc-notices\"\u003E\u003Cli class=\"xoo-wsc-notice-success\"\u003E\u003Cspan class=\"xoo-wsc-icon-check_circle\"\u003E\u003C/span\u003E%s%\u003C/li\u003E\u003C/ul\u003E","errorNotice":"\u003Cul class=\"xoo-wsc-notices\"\u003E\u003Cli class=\"xoo-wsc-notice-error\"\u003E\u003Cspan class=\"xoo-wsc-icon-cross\"\u003E\u003C/span\u003E%s%\u003C/li\u003E\u003C/ul\u003E"},"strings":{"maxQtyError":"Only %s% in stock","stepQtyError":"Quantity can only be purchased in multiple of %s%","calculateCheckout":"Please use checkout form to calculate shipping","couponEmpty":"Please enter promo code"},"nonces":{"update_shipping_method_nonce":"58bf6925b7"},"isCheckout":"","isCart":"","sliderAutoClose":"1","shippingEnabled":"","couponsEnabled":"1","autoOpenCart":"yes","addedToCart":"","ajaxAddToCart":"yes","showBasket":"always_show","flyToCart":"yes","flyToCartTime":"1500","productFlyClass":"","refreshCart":"no","fetchDelay":"200"};
//# sourceURL=xoo-wsc-main-js-js-extra
var complianz = {"prefix":"cmplz_","debug":"","user_banner_id":"1","set_cookies":[],"block_ajax_content":"0","banner_version":"22","version":"7.5.7","store_consent":"","do_not_track_enabled":"1","consenttype":"optin","region":"eu","geoip":"","dismiss_timeout":"","disable_cookiebanner":"","soft_cookiewall":"","dismiss_on_scroll":"","cookie_expiry":"365","url":"https://mozaicworks.com/wp-json/complianz/v1/","locale":"lang=en&locale=en_US","set_cookies_on_root":"0","cookie_domain":"","current_policy_id":"26","cookie_path":"/","categories":{"statistics":"statistics","marketing":"marketing"},"tcf_active":"","placeholdertext":"Click to accept {category} cookies and enable this content","css_file":"https://mozaicworks.com/wp-content/uploads/complianz/css/banner-1-optin.css?v=22","page_links":{"eu":{"cookie-statement":{"title":"Cookie Policy ","url":"https://mozaicworks.com/cookie-policy-eu"},"privacy-statement":{"title":"Terms And Conditions","url":"https://mozaicworks.com/terms-and-conditions"},"impressum":{"title":"Private: Contact Old","url":"https://mozaicworks.com/?page_id=12523"}},"us":{"impressum":{"title":"Private: Contact Old","url":"https://mozaicworks.com/?page_id=12523"}},"uk":{"impressum":{"title":"Private: Contact Old","url":"https://mozaicworks.com/?page_id=12523"}},"ca":{"impressum":{"title":"Private: Contact Old","url":"https://mozaicworks.com/?page_id=12523"}},"au":{"impressum":{"title":"Private: Contact Old","url":"https://mozaicworks.com/?page_id=12523"}},"za":{"impressum":{"title":"Private: Contact Old","url":"https://mozaicworks.com/?page_id=12523"}},"br":{"impressum":{"title":"Private: Contact Old","url":"https://mozaicworks.com/?page_id=12523"}}},"tm_categories":"","forceEnableStats":"","preview":"","clean_cookies":"","aria_label":"Click to accept {category} cookies and enable this content","iapi_nav":"fallback","is_cookiepolicy_page":""};
//# sourceURL=cmplz-cookiebanner-js-extra
Comments are closed.