Plain Framework 1 (simple framework) a C/E framework for Network (game) development is about to be released in open source

Source: Internet
Author: User
Tags new set

In our daily development, we often encounter this situation, when we change a development environment, it is likely to re-use a new set of frameworks for development. Because different frameworks have different interfaces, we have to take the time to familiarize ourselves with these interfaces again, which will result in a duplication of development time, and a process that has undergone a repetitive wheel build for a program. In the field of game development, I have not been involved for a long time, about three years. Holding the love and passion for the game, in the past few years is also a struggle to explore the process. Our countrymen have such a common problem, it is so-called "inward-thinking", I found that some developers have a set of code and then use this code to play the entire game industry. I can understand the feelings of these friends, and indeed it is such a phenomenon, because the needs of the market, we have to use all the resources available, otherwise there is no "time". And after owning the code, it is also an important way to realize its value. However, there are pros and cons, when we "inward-looking", we will lose something, that is, communication, without the exchange of our progress will appear very difficult. Since 10, I began to study the architecture of the Tianlong server, at that time, although there is no source code, the service side/client can see only Lua, and later these are added to the secret. After a few years, including the Dragon's Swim, Kirin, Jinshan, some of the architectural design, the most I appreciate is the gold Shanxi Mountain Friends, code of the standard has already surpassed the former poison PA, translation software. At the end of 13, as the first game project was nearing its end, I began to tidy up my ideas and rewrite the core code of the Dragon/martial arts world with the code of my past. To me rewriting is the process of learning, there are many problems naturally. Later, the plain framework was born ...

Birth reason

Although I have said some of the reasons for some of the plain frameworks, the reason for their eventual birth has to be discussed. I am mainly in the work of server development, have long wanted to get a set of their own underlying framework, but always think this will take time. At this point, the pressure of the project made me feel more and more urgent to achieve this goal. So the first frame is completely for the server, that time I was named Plain server (simple server), the implementation of the framework, and then I re-reorganized the idea, want to integrate some of the client's needs, so this is renamed to the Plain framework.

Development standards

Because the framework is completely developed in C/s + +, you have to mention the C/s standard. Now the newest standard is c99/c++11, and many friends seem to have adopted the standard for development, because the syntax is simple enough. However, there is a problem with the compiler version compatibility problem, only the latest compiler can support. The plain framework uses pseudo-c99/c++98 standards in order to accommodate the support of different compilers, especially for the VS series.

Then what is the pseudo-c99/c++98 standard, in fact, is here to use the C99 some good standards, and the actual is the most original standard, so that even the old version can support the compilation.

Reference Manuals

A framework must have a reference manual, and the drafting of the reference manual is straightforward, but this is a cumbersome process, as the framework's Reference manual is being prepared. In the process of writing, after the open source framework in my blog you can note that these resources will be synced to the blog. If you need a taste of friends, cut not to miss.

Detailed descriptions and rich examples will give you a quick grasp of the framework:

Member Recruitment

If you are also interested in open source knowledge, if you are interested in Web applications or online games, if you are interested in the framework, you can join our QQ group (348477824).

Welcome to the group to exchange learning with each other, but also welcome all friends to the framework for their own efforts.

Plain Framework 1 (simple framework) a C/E framework for Network (game) development is about to be released in open source

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.