Home > WeChat Applet > WeChat Development > Detailed summary of actual development Zhihu Daily

Detailed summary of actual development Zhihu Daily

零下一度
Release: 2017-06-10 14:27:06
Original
2060 people have browsed it

Preface After reading so many introductions to mini programs, I think all readers have a certain understanding of mini programs. This article will no longer focus on getting started. Now we will practice it through a Zhihu Daily mini program to deepen our understanding of the WeChat mini program API. Okay, let's get started. Let's start with the actual combat. First, let's take a look at the results of the Zhihu Daily we are going to do today. As shown below. However, due to space issues, today we will only talk about the completion of the homepage, which includes interaction with the backend, page layout, data rendering, event response, etc. It basically covers all development on how to make a single page. Zhihu Daily Mini Program Home Page 1. Resource preparation Zhihu Daily - Brief version API: new s-at.zhihu.com/api/4/news/latest Today’s Hot Articles news.at.zhihu.com/api/4/news/ before / More past hot articles The two addresses above are the APIs of the homepage we are going to do today. We will initiate a request request and get back the data for rendering. 2. Home page JS Next we will start writing code, please keep the home page title

1. WeChat Development Practical Zhihu Daily

Detailed summary of actual development Zhihu Daily

#Introduction: Preface After reading so many introductions to mini programs, I believe that all readers have a certain understanding of mini programs. This article will no longer focus on getting started. Now we will practice it through a Zhihu Daily mini program to deepen our understanding of the WeChat mini program API. By the way, you can read this article to get started, which contains a preliminary introduction to the use of tools: p/37dfcea4a2f8 An introductory tutorial on WeChat applet development https://mp.weixin.qq.com/de...

2. Introduction to the development examples of Zhihu Daily, the WeChat mini program version

Detailed summary of actual development Zhihu Daily

# #Introduction: I believe that everyone has been fascinated by mini programs recently, so I quickly picked up a mini program version of Zhihu Daily on the weekend to calm down my shock. This article mainly summarizes this development experience and the pitfalls I have encountered. Friends in need can refer to it.

3. Zhihu Daily Development Example for WeChat Mini Program

Detailed summary of actual development Zhihu Daily

##Introduction: I believe that everyone has been fascinated by mini programs recently, so I quickly played a mini program version of Zhihu Daily on the weekend to calm down. This article mainly summarizes this development experience and comments on it. A pitfall. Friends in need can refer to it.

4.

First experience in WeChat applet development

Detailed summary of actual development Zhihu Daily

Introduction: Last week, I was swiped by the mini program. I was so scared that I quickly picked up the mini program version of Zhihu Daily over the weekend to calm my nerves. I would like to summarize this development experience and the pitfalls I have encountered. The mini program was cracked on the second day after it came out. WeChat downloaded the development tools on the third day. Now you only need to download the WeChat developer tools to use them. When creating the project, select no appid, so there will be no The appid is verified.

5.

Use Redis to store ID continuous data

Introduction: I was designing and developing "Doodle 2" before When working on Zhihu Daily, the data type I face most is data with IDs. When using a relational database, an auto-incremented primary key can meet this requirement, but in Redis it is a little more troublesome. I have always used an additional counter to store the ID, for example (a lot of code is omitted, which does not affect the reading

6.

How to get the pictures in Zhihu Daily?##Introduction: I am making a third-party Zhihu Daily, but the pictures cannot be obtained? Is there a pure front-end implementation?

7.

The problem of incompatibility between Xdebug and PHP version

Introduction: Today I have been rewriting Zhihu Daily. After the PHP crawler has been running for a period of time, a memory leak occurred in the word segmentation module. After a rough inspection, I didn't find the cause, so I decided to install xdebug to check it out (although I don't know how to use it yet = =!). Originally, no errors were reported during the automatic installation according to [Official Documents] (http://xdebug.org/docs/install).

8. in php.ini Quant What Python knowledge should I learn?

Detailed summary of actual development Zhihu Daily

Introduction: RT reply content: I went to Zhihu Daily to update my Python knowledge system and personal experience. You are welcome to comment. -------------------------------------------------- -------------------------------------------------- ---------Thank you for the invitation from Brother Long of Qingmu Capital! The answerer should be regarded as more of a trader rather than a quant (although he has some knowledge of quant.

[Related Q&A recommendations]:

android - RecyclerView cannot load data after parsing Zhihu Daily API

android - ListView's onScroll has no effect

php - How to get Zhihu Pictures in the daily report?

javascript - When the server returns 403 when referencing the image address returned by the Zhihu Daily API, what should I do?

The above is the detailed content of Detailed summary of actual development Zhihu Daily. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template