Light of identity

I’m an iOS developer, but I’ve done front-end work before, and I can write a little node, so that’s my identity.

First taste of wechat small program

About 20 days ago, I started to run the website and write a little bit of appellate apps. It didn’t take much time because of work.

It has to be said that the micro channel small program characteristics determine the micro channel small program development is very simple and difficult at the same time

Why is wechat applets easy?

The reason why micro channel small program development is very simple, because any engaged in Web development or mobile native non-native development developers, micro channel small program used development knowledge system, you basically have mastered, do not need to learn any development thinking.

Of course, I’ve always thought that “grammar” is the easiest thing for a programmer to do, and one that doesn’t require a programmer to be good or bad. Because the grammar is used to recite, recite but can go to check, of course, the efficiency will become slower.

From the micro channel small program point of view, it is running on the basis of webView (can see here dig micro channel small program! You need to understand these three kernels),


Dig deep micro channel small program! You need to understand these three cores first
Share/discuss/gossip

In case you haven’t read the documentation – wechat applet related operating platformPerhaps you have not yet paid attention to the operation mechanism of micro channel small program, but understand the content, you may have a deep and thorough understanding of micro channel small program. On iOS, the javascript code for the applets runs in JavaScriptCore and on Android, the javascript code for the applets is parsed through the X5 kernel on the development tools, The javascript code for the applet runs in NWJS (the Chrome kernel)
JavaScriptCoreDid you know that JavaScriptCores is open source, download address
Github.com/phoboslab/J…OS X Mavericks and iOS 7 introduce the JavaScriptCore library, which wraps WebKit’s JavaScript engine in Objective-C, providing a simple, fast, and secure way to access the world’s most popular languages. Love it or hate it, the ubiquity of JavaScript has led to a huge increase in the use of programmers, tools, and resources in the super-fast virtual machines that are integrated into OS X and iOS…


It can be imagined that although many tags are assembled into wechat’s own components, they cannot be separated from the knowledge of HTML, CSS and javascript

Take a look at the naming of the source code for the development tool

So as long as you get the hang of it, I think in three days you can basically build what you need.

Because of this, the micro channel small program has great advantages.

  • Short development cycle – Short time
  • Low development cost – fewer people
  • Low entry slope – easy to adapt

So if you have some spare time, give it a try

Why say micro letter small program again difficult?

When God opens one window, he closes another.

Wechat applets for multi-platform adaptation, perhaps in a short period of time, open components and permissions are certainly limited.

For example, at present the first part of the closed account of WeChat applet is geared to the needs of media content type, then the display content is top priority, but not exposed WeChat applet webview similar rich text analysis components, at the same time WeChat no DOM manipulation, the small program in the process of development, will certainly encounter a lot of trouble.

Because of this starting point, I wrote my first wechat applet rich text parsing component wxParse version0.1 officially released – fully support wechat applet rich text HTML and Markdown dynamic parsing for dynamic rendering and loading HTML or Markdown.


WxParse version0.1 – full support for wechat applet rich text HTML and markdown dynamic parsing
Example/Open source

Thanks for your support, encouragement and establishment on github. After a week, wxParse has been gradually improved, and now wxParse has released version0.1. Welcome to use and explore. WxParse – wechat applets rich text parsing custom components, support HTML and Markdown parsing this project by
“Appellate Pdev” – Appellate Pdev
weappdev.com/Member development vertical wechat small program development communication community version number: version0.1 directory
The status quo
composition
Method of use
Feature list
The sample
The flow chart
Related explanatory articles
Third Party reference
The development of information
TimeEffect GIF(slow to load, please wait)
[wxParse.gif]Github address:
Github.com/icindy/wxPa…Current Version No. : Version0.1 wants you to find problems and submit them, You can also foke submit your modified code support most tag parsing support Code code support Video Rendering support custom styles support unlimited nested tag composition -wxParse — wxparse.js (tool class entry and exit) — wxparse.wxml (template file)

This is just an example, that in the future development, programmers in the development process, will certainly encounter the use of wechat small program development can not solve the needs, manufacturing wheels is a way, but there are some things manufacturing wheels can not solve.

Make bricks without straw is likely to be encountered in the future development.

So, what kind of experience is it to develop wechat applets?

I have written the first phase of small code message: blow a cow, I am in the development of micro channel, molesting now do micro channel small program development program division.


Small code message first phase: blow a cow, I am in the development of wechat!
Share/discuss/gossip

Small code message – vertically provide wechat small program gossip
“Appellate Pdev” – Appellate PdevRotating_light: The moment of ridicule! : Hugging :Hi micro app developer. What! You think it’s too long? Wechat development engineer. What! Too general? Small program development engineer? What! Not western enough? “I believe that you can do something about it,” he said. “I believe you can do something about it,” he said. : SMILing_IMP: Can install force from now on! I developed wechat. : SMILing_IMP: That’s right!! Professional tall on too much, personal value to improve a lot of have!! Wechat microblogging apps must be bound to a domain name, and they need HTTPS support. Xiaobian domain name is many, do not know whether to put on record. SAO year, do your ya have domain name !!!! @! [photo] :point_right: recommended by this issue
Together is a Real-Time development environment for wechat small programsFrom now on mother no longer need to worry about my micro channel small program implementation refresh, no longer need to manual…

From the present point of view, I think this micro channel small program development engineer this career is likely to appear, may also have appeared, so the development of micro channel small program experience is ** pain and happy **;

Maybe, you should start to learn how to make wechat small program, this thigh is still to embrace.

source

Author: DI appellate Appellate Development Forum – Appellate Appellate Development Exchange community