What is the Thrift Apache ™?
Apache ™ Thrift is a program created from the programming platform of the Apache ™ web server. It is made to generate code and work with multiple coding languages at once. Unlike similar generators that produce unnecessary amounts of code or heavy tracks, Apache ™ Thrift works to include only the necessary code, so it is transparent. Many large websites that need multiple languages use Thrift because they prevents programmers to use separate programs and files. However, Thrift can work with 14 coding languages at the same time, even if it has many advantages, there are several things he can't do.
with the platform Apache ™ Thrift platform, the programmer does not have to build a complicated client from zero. Rather, the programmer begins by defining several types of data. This might include the user name and password definition for the login script.
After defining the data types, the programmer usually must start working on their further defining and adding the code space.Instead, Apache ™ Thrift takes the defined code and generates it in any coding language that the programmer needs. Now the programmer must view the generated code and add a few lines back and forth rather than build from nothing.
Since May 2011, Apache ™ Thrift is able to work with 14 coding languages. These include: C#, C ++, Java®, Python®, Hypertext Preprocessor (PHP), ERLANG, Ruby®, Hashell, Perl®, Cocoa®, Node.js, JavaScript®, Ocaml and Smalltalk. This allows programmers to use almost any server coding language needed for specific programs or problems, all in one program. This system was created for Facebook®, but in 2007 it became Open-Source.
One of the biggest problems, especially for new users, is that the Thrift Apache ™ does not include tutorials or documentation.To it means that programmers are left to find out the program themselves. This problemIt has been solved by many websites that offer tutorials and educational programs so that people new people can learn how the program works and how to generate a platform code.
Inheritance that allows the programmer to create objects with similar commands or definitions without writing a definition for each object is not included in the platform Thrift. This means that coding of polymorphism is not allowed because it depends on the function of inheritance. Zero functions cannot be used and all methods and containers must have unique names, even if they use different encoding languages. Otherwise, the program can overload.