To learn more about the progress of TORM framework, please pay attention to the public number maimocoding

preface

Write the < < seven days to realize the ORM framework > > series, has prepared from a few months ago, the goal is to with the most simple, most clear language to tell the implementation principle of ORM framework, so as to grasp its core technology, such as open source gorm, xorm framework, their core concepts are similar, only need to master a foreign underlying technology, I will introduce the realization principle and coding implementation of TROM framework in the form of video + article, so that everyone can understand the realization principle of ORM framework, on the one hand, it can add points for the interview, on the other hand, improve their skills.

I’m going to spend seven days implementing the TORM framework, with no more than 1,000 lines of code per day. Here’s what I’m going to do in seven days.

directory

  • Day1: Basic database/ SQL implementation
  • Day2: Object-relational mapping implementation
  • Day3: Conditional assembly is added
  • Day4: Modify and query condition assembly
  • Day5: User API
  • Day6: Support transactions
  • Day7: Summary review