Starting from the beginning of May, the middle out of intermittent spare time, based on React-native, in the blog Park existing open interface based on the realization of a blog Park mobile phone client. Because bloggers do not have an iOS development environment, they are currently only available with the Android version. For the purpose of learning and practicing react-native, the UI renders this piece completely by its own good, the bug also has some, more is the hope, lets everybody feel the react/react-native for the mobile development brings the new vision and the possibility.
One, RELATED LINKS
1,react-native
Https://github.com/facebook/react-native
2,code-push
http://microsoft.github.io/code-push/
2, Blog Park Open Interface
Http://wcf.open.cnblogs.com/blog/help
Http://wcf.open.cnblogs.com/news/help
Second, the basic function
1, Home Blog list, row and column lists, news list.
2, blog details, news details.
3, blog comments, news reviews.
4, Bo Master search, Bo master details.
Third, the Operation effect
Sections are as follows:
Home
Blog details
Blog comments
Search results
Details of Bo Master
Four, experience the package and code
Apk:https://www.pgyer.com/cnblogs
Github:https://github.com/togayther/react-native-cnblogs
Five, special instructions
1, looked for a long time did not find the blog park corresponding to different resolutions of the logo image resources. Have the resources of the park friend trouble to provide a bit.
2, the client integrates the Code-push. When starting, the interface will be asked to check for updates, please do not misunderstand this is open the back door.
3, due to the official opening of the blog Park Interface response data format is XML, not convenient JS processing, so the PHP build agent to return to JSON.
Six, the question of existence
1, Post details page, Image rendering screen adaptive. React-native 0.28 release, can be resolved.
2, post details page, picture loading progress tips.
2, the details of the blog page, content rendering format to beautify and perfect.
3,code-push occasional issues that do not appear in time after the update.
4, memory consumption optimized.
5, package file volume optimization.
6,ios to fit.
Seven, about the blog park
The personal feeling of popularity and user activity of the blog park, compared to a few years ago, there is a great degree of decline. For example, the auspicious days, high-quality production, can let people learn a lot of things, but because there are some commercial ideas, are some people all kinds of spray, and finally stealth. Later Lyj, Lao Zhao A large number of celebrities, also no longer appear in the limelight, to a certain extent, led to blog quality and controversy decline, user participation decreased. The mobile wave of the past few years, the blog park in this respect can be said to be basically 0 action. Coupled with this era has changed, many people are pursuing fast entertainment information, can no longer calm down to study technical articles. For example, Dudu one day in the home sent a garden friends can see the dynamic, said the office new to a sister, certainly a lot of ordinary diving will come out, ask this sister Christina Geometry, you two are not a leg ... Alas, this is the best of times and the worst of times.
Here are some of the areas where the personal feel of the blog Open Interface can be perfected:
1, interface response data format, currently XML. The JSON format can be added. After all, the JSON format is now more widely used.
2, the interface return of the blogger avatar size is small. The current size is 48 * 48, on the high-resolution phone, set a larger avatar display, the effect is very blurred.
3, added blogger details interface.
4, the current "paging gets a list of personal blog posts" interface, not too stable. For example, the search interface returns the blogger, call this interface no return.
5, blog details interface, not too stable. For example, the list of posts returned by "paging through a personal blog post list" has no data returned from the details interface.
6, we suggest that the blog park to increase the scanning of two-dimensional code login related interface.
Finally, you are welcome to download the experience. If you have any questions, you can leave a message at the bottom of the post or the following link:
Https://github.com/togayther/react-native-cnblogs/issues
Thank you.
Blog Park Mobile client based on react-native implementation