Recognize Android frames MVC,MVP and MVVM

Source: Internet
Author: User

Editor's note: Many times now, we are looking for search (or Google or Baidu), GitHub programming, then, in the early days without the Internet, how to learn programming, become a real developer? Or as a small white, how to enter the Internet programming era? The authors share their programming experience from 0 to 1, hoping to help more developers take the first step in their career.
  
640?wx_fmt=png&wxfrom=5&wx_lazy=1
  
I had dreamed of becoming a hacker, a real hacker, from the age of 11, but I didn't have a very high-end computer, and I didn't have a very cool double-screen or even a network that appeared in the movie. My Computer configuration is just a normal Core 2 Duo processor and 2 GB of memory, but that doesn't prevent me from wanting to be a hacker. There were several books about programming and computers at home, but I almost did not turn over. Because I want to be a hacker, not just a programmer who will knock the code.
  
My hacker journey was enlightened by a very bad book. Now that you want to learn hacker technology, you will usually recommend hacking books such as Hack-exploit art (https://en.wikipedia.org/wiki/Hacking:_The_Art_of_Exploitation). And I was completely alone at the time, no hacker friends and no internet. However, I read through the whole book and finished every exercise in the book, so I thought I knew the basics of hacking, but unfortunately I didn't conquer the Pentagon. I even mistakenly think that hackers are omnipotent, should be able to independently develop not only powerful and beautiful appearance of the software, at present, I am really stupid.
  
What have I learned from reading such a bad book? In the absence of Internet and online resources, it gave me a macro understanding of the computer, and based on this rough understanding, I actually couldn't do anything. Just to make me feel that programming is no longer so mysterious, these computer books are no longer so daunting.
  
Then again, still without any teacher and guidance, I picked up a book and went on studying. This time is not as bad as I thought, the study effect is good. Then I read more books, spent all night studying C + +, and a year later I could write a relatively good program in C + +. Then I learned C # because I wanted to develop a desktop application. Since then I like programming, like to be a programmer.
  
However, it is important to note that programming takes a lot of time, especially when you start to create real applications. So how do you learn to program without the Internet and teacher guidance, and only a poorly performing computer?
  
The method is actually very simple, really.
  
Choose a programming language
  
Each programming language has its own advantages. Choose one and stick to it and learn until you really grasp the essence of the programming language. The common mistake for beginners is that they are always trying to learn as many programming languages as possible. In fact, the number of a long time to lead to confusion, lack of attention will distract themselves, finally helpless to give up. The following is a short list of frequently used programming languages:
  
JavaScript, HTML, CSS, and php--for WEB development;
  
C #, C + +, JAVA, python--for desktop and mobile development;
  
C, C + + and rust--for the underlying development;
  
Swift and objective-c--are used for IOS development.
  
0?wx_fmt=jpeg
  
On any operating system in the last 20 years, as long as you install a browser, you can use JavaScript to do the client development. If you purchased an Ubuntu OS CD online, or joined a local Linux user group, they have already installed Python for you, and you can easily start Python development.
  
You can install a C/C + + development environment for C/D + + programming, such as Dev-c++ (http://www.bloodshed.net/devcpp.html) (although it is quite old), you can manage it in the form of a library. It can be much more difficult to get other development environments without an Internet connection.
  
You can download the Python document (https://docs.python.org/3.5/download.html) to a local offline view. Installs Monodoc (http://www.mono-project.com/docs/tools+libraries/tools/monodoc/) for C #, but this requires you to obtain some packages that are not installed by default. As for C programming on Linux, you can refer to Manpages (http://www.mono-project.com/docs/tools+libraries/tools/monodoc/), although the manual navigation function is done in general.
  
Learn while doing
  
Reading too many tutorials and books is not a good way to improve your programming skills, except to make you feel dull.
  
The best way to improve your programming skills is to explore, practice, and innovate. When I turned to C #, I didn't use books and tutorials. The best experience of programming is to write code. If you choose to create rather than imitate, then you can learn a lot of things. But most developers start with a tutorial and then read a few books, and for two years they don't write any applications or software themselves, and eventually they give up. You need to give yourself motivation, the best source of motivation is to write code.
  
Don't blindly pursue a unique application
  
When I was developing macalifa (now called Bread Player) (HTTPS://WWW.MICROSOFT.COM/EN-US/STORE/P/BREAD-PLAYER/9NBLGGH42SRX), My friends and family often ask me if I have recently developed something new and unique. In fact, I didn't develop that unique application. Objectively, almost all of the applications you can think of are already on the market, and what you need to do is create better applications rather than unique applications. If you chase uniqueness, you may never be able to complete an application. Instead, we should create an application that is beneficial to the user, or an application that is better than the current market experience.
  
Fortunately, this solves the problem of no network connectivity. You cannot download a program without an Internet connection. This means that your program and other people's programs are repetitive and have little impact-because you can't get the other programs you're copying, you've created something that will solve some of your problems.
  
Embrace open source
  
To be honest, this requires the Internet, but do not overlook this and it will be useful in the future.
  
When I started developing real applications, I didn't think that open source would be so important, but soon after I opened the Bread Player Open source, I became aware of the power of open source. You don't need to open source a Linux-level project, any project, no matter how small, is possible.
  
At first, everyone wanted to make money quickly and easily, but with all due respect, nobody in the early days knew you and no one cared what you were doing. Be active in GitHub (https://github.com/theweavrs/), BitBucket (https://bitbucket.org/), or any other Git source site so people know you exist. It's better than building a website because it's completely free and doesn't take much time to maintain.
  
Open source is a community, so you can meet great people, maybe attract some contributors to your project, and if you're lucky, someone will even hire you. In fact, open source is the largest developer community and you can learn a lot if you want to.
  
0?wx_fmt=jpeg
  
Participate in multiple projects
  
I've been on a project for over 3 years and it's not easy. Sometimes you get bored with the project when you've been working on a project and the development work is saturated. Conversely, if you develop multiple projects at the same time this helps to keep the development enthusiasm, if you are tired of one of the items, you can go to other projects. In this way, you will always be on the move and can continue to develop applications.
  
However, the biggest benefit of having multiple projects at the same time is that you are growing fast. You have a variety of ideas, multiple ideas, a variety of ways to solve problems, the most important thing is to get a lot of motivation. I am currently developing more than 5 applications at the same time, and in order to make users profitable, I may be releasing one recently.
<?xml version= "1.0" encoding= "Utf-8"?>
<linearlayout xmlns:android= "Http://schemas.android.com/apk/res/android"
Xmlns:tools= "Http://schemas.android.com/tools"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent"
Android:id= "@+id/container"
android:orientation= "Vertical"
tools:context= ". Ui.view.MainActivity"
Android:fitssystemwindows= "true" >

<button
Android:text= "Get"
Android:layout_width= "Match_parent"
android:layout_height= "Wrap_content"
android:onclick= "Get"/>

<button
android:text= "Change"
Android:www.ccyl178.com/layout_width= "Match_parent"
android:www.yitiali.com layout_height= "Wrap_content"
android:onclick= "Change"/>

<textview
Android:id= "@+id/top_contributor"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent"
android:gravity= "Center"
android:www.2018yulpt.com textsize= "30sp"/>

Programming according to your own ideas
  
Good developers use programming to think and Express. If you tell me an idea, I wouldn't think of it as an idea, but rather to develop it into an application. Once you're thinking in code and talking in code, you're a real developer.
  
Summarize
  
Learning programming is not dependent on the Internet, guidance, or books. Don't look for excuses, don't hesitate, ACT! I am not a model of modern programmers, so my advice you can learn from, but you also need to try to learn from the mistakes. Remember: The world doesn't need you, but you can make it need you. Start today and you will succeed tomorrow.

Recognize Android frames MVC,MVP and MVVM

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.