Video live encoding, how to harness hyper-complex business logic without losing beautiful code

Source: Internet
Author: User

Tossing an afternoon plus 1 hours in the evening, finally completed a total of 6 videos, with a duration of 3 hours and 48 minutes of video recording. These 6 videos, complete demonstration of our team based on our own framework, the coding workflow, that is, how to start from the prototype, step-to-step analysis of requirements, design database, complete page html,js,css and all functions, live broadcast, without limitation.

Our framework is for ultra-complex business logic, without losing the beautiful code. With these 6 videos, you can see how we split the complex business logic into a short business unit that makes every business unit so simple. The whole process is like discovering, every line of code is so natural, every line of code is so elegant and simple.

The purpose of recording this video is to let new members of our team be free to self-study our framework, as these 6 videos demonstrate a complete demo in more detail, with a general introduction to our architecture. Another purpose is to demonstrate our team's efforts over the years in terms of architecture and code quality, and we hope that the experts will communicate and establish a lot of connections.

Below, take a look at the prototype diagram:

Requirements: The above section of the prototype is a grid that supports paging, and the following section is an editor that allows you to edit each row of data in the grid.

On this page alone, business complexity can only be counted, but through this series of videos, you can see that, based on our architecture, even any complex business logic can be like this prototype diagram expressed in the same page, we use elegant code easily.

What is the elegant code? To put it simply:

1. Accurate naming

2. Each method is short and clear

3. Each file is short and clear.

(Only the master pursues the art of naming)

For the above prototype, 3 hours 48 minutes (also contains a small amount of nonsense time), each method does not exceed 30 lines, each file does not exceed 300 lines, this is the level of a skilled worker of our team. You are welcome to comment and reply to your evaluation time.

Finally, please enjoy:

    1. Part 1th prototypes and requirements. avi
    2. Part 2nd architecture. avi
    3. Part 3rd database design. avi
    4. Part 4 of the page list function. avi
    5. Editor of the 5th part of the page. avi
    6. 6th part of the page optimization and summary. avi

PS: Who knows Youku how to upload HD screen video ah? After uploading the recorded video, it is not clear and completely invisible.

Video live encoding, how to harness hyper-complex business logic without losing beautiful code

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.