Development and application of Ethereum platform plus JS
what is Ethereum:
Ethereum is an innovation based on the application of technologies and concepts in bitcoin to computers. Ethereum itself imitates a lot of bitcoin technology to maintain the computer platform. blockchain technology is one of them
Ethereum platform can safely run any program users want
advantages of Ethereum over other competitive currencies before Ethereum appeared, some digital currencies imitated bitcoin. However, these projects have their own shortcomings, they can only support one or several specific applications at the same time< However, the reason why Ethereum can surpass the limitations of these projects in the past is because of the core idea of Ethereum
what Ethereum wants to implement is a blockchain protocol with built-in programming language. Since it supports programming language, in theory, any blockchain application can be defined with this language, and then run on Ethereum's blockchain protocol as an application
The design of Ethereum is very flexible and adaptable
Ethereum target sets the advantages of blockchain technology, in order to add the advantages of blockchain, such as decentralization, openness and security, to almost all computing fields
blockchain applications of Ethereum
Ethereum has many blockchain applications, such as digital applications of gold and stocks, financial derivatives applications, DNS and digital authentication, etc
Ethereum has achieved more than 100 blockchain applications by many start-ups
Ethereum has also been closely watched by some financial institutions, banking consortia (such as R3), as well as large companies like Samsung, Deloitte, RWE and IBM. As a result, a number of blockchain applications such as simplified and automated financial transactions, merchant loyalty index tracking, and gift cards designed to achieve decentralization of electronic transactions have emerged
the relationship between Ethereum and blockchain:
Ethereum is a programmable blockchain
Ethereum does not give users a series of preset operations (such as bitcoin transaction), but allows users to create complex operations according to their own wishes
in this way, Ethereum can be used as a platform for various types of decentralized blockchain applications, including but not limited to cryptocurrency
like other blockchains, Ethereum also has a peer-to-peer network protocol. Ethereum blockchain database is maintained and updated by many nodes connected to the network. Each network node runs the Ethereum simulator and executes the same instructions. Therefore, people sometimes call Ethereum "world computer"
The answer is yes,
before you start using thingjs, you need to understand JavaScript first. Let's assume that you have mastered JS
create a project
before creating a project, you need to log in to thingjs account. If you have not logged in to the account or the page appears "login has expired, please log in again!" In order to ensure the correct saving and operation of the project, please log in to your account before creating the project. You can create a project in the following three ways:
< UL >select the "file - new project" option in the menu area
click the "new" icon in the toolbar, as shown in the right figure:
1.1. Website front-end development
the old line of JavaScript. It's used to realize the front-end logic. Simple things like what happens when you click a button. Complex things like that, you can use js to write an x86 simulator and then pour a Linux system into it
1.2. Website back-end development
node.js allows programmers to write back-end freely with JS
2. Mobile development
2.1. Web app
HTML5 provides a lot of API support, which can realize most of the functions of native applications, but the performance needs to be improved. For example, Firefox OS is a mobile operating system based on web app
2.2. Hybrid application development
realizes part of native application with front-end technology to make native application more flexible. Many applications do this. The emergence of platforms such as phonegap allows programmers to use js for mobile application development
3. Desktop development
mainly refers to that chrome and other browsers can package programs written in JS into desktop applications. Google's Chrome OS is also an operating system based on web app
4. Plug in development
JavaScript is the only programming language that is natively supported on all mainstream platforms, so JS can be used for plug-in development on all mainstream platforms. Browser plug-ins and extensions are common. At the same time, most mobile application plug-in platforms also use js for plug-in development, because one-time development can ensure cross platform use.
websocket function in HTML5 can be used to develop instant messaging function
however, as you said, with more users, it's quite a test for technology
for the example, you can refer to the functions of wechat web page
I wish you a happy new year.
1. Web2.0, AJAX, JSON, user experience
2. HTML5, micro network, mobile Internet
3. Front end MVC framework: backbone. JS
4. Server side javascript: node. JS
5. Node. JS + jQuery mobile + HTML5, CSS3 + mongdb
2, First of all, we must use its tools
1. Firefox plug-in
(1) firebug
integrates HTML, CSS viewing and editing, JavaScript debugging, and network status monitor
(2) page speed (based on firebug)
is used to evaluate the performance of web pages and get suggestions on how to improve the performance and loading speed of web pages. Page speed can automatically optimize images for users and provide compressed images that can be published on Web pages. It can also identify JS and CSS loading problems and help developers rece the time for browsers to wait for web pages to display.
