Giter VIP home page Giter VIP logo

weekly-mp's Introduction

weekly-mp

科技爱好者周刊小程序版

界面效果

首页 详情页

与语雀的界面对比

语雀中周刊的列表页 详情页
  • 以下是使用方式上的一些差异,仅供参考
使用上的差异 入口层级 分享 订阅
语雀内的 层级较深 支持分享海报及发送给朋友(右上角胶囊菜单不支持分享给朋友及朋友圈) 关注后开启推送
本小程序 点击即用 支持右上角胶囊菜单分享给朋友及朋友圈 支持一次性订阅消息获取更新

技术选型

小程序端

  • 主框架使用 mpvue
  • UI框架采用 Lin-ui
  • 渲染插件使用 wemark

服务端

  • 小程序云开发部署若干云函数
    • weeklies:获取周刊列表
    • weekly:获取周刊 markdown 数据
    • subscribe:周刊订阅
    • send:订阅消息发送
  • 服务器部署基于 koa 框架开发的接口

架构方案

主体采用服务器加云开发混合部署,如下图所示:

科技爱好者周刊小程序架构设计

  • 服务器定期从 github 拉取最新文章的 markdown 文件,并进行基础的数据处理,生成文章的 json 缓存文件
  • 小程序内调用云函数后从独立服务器获取文章数据进行展示
  • 文章内页的数据为markdown类型故采用开源插件 wemark 进行渲染

体验方法

扫码体验 微信搜索『科技爱好者周刊』

参考资料

致谢

再次致谢阮一峰老师 😄

weekly-mp's People

Contributors

xdmjun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.