GithubHelp home page GithubHelp logo

带我一个玩呗? about blog HOT 8 CLOSED

smallpath avatar smallpath commented on May 18, 2024
带我一个玩呗?

from blog.

Comments (8)

smallpath avatar smallpath commented on May 18, 2024

谢谢关注, 这两天我在弄ssr, 比较麻烦但估计周五前能弄好, 你要部署的话可以下载之前这个commit

你想做什么呢? TODO里面没完成的你可以挑一个, 或者你想额外做的功能也可以提出来, 没问题的话我可以加进TODO。

from blog.

zhaozhe0831 avatar zhaozhe0831 commented on May 18, 2024

OK!

from blog.

zhaozhe0831 avatar zhaozhe0831 commented on May 18, 2024

你想把这个项目做成什么样呢?类似于 wordpress 那种很全能,扩展性很强,主题扩展的那种吗?

from blog.

smallpath avatar smallpath commented on May 18, 2024

博客目前在做的是如下三个:

  • 提供一个统一的后台管理的前端单页应用, 即client/back, 目前是vue1, 有计划升vue2并用上element, 因为后台管理不必考虑seo, 所以不准备上ssr
  • 提供RESTful API, 这部分已经完成了, API在readme最下面
  • 最后是提供的一个展示博客前台的应用, 目前是client/front, 已经是vue2并在升ssr

我想做的确实是类似wordpress的, 扩展性强度可以纯粹依靠RESTful, 因为后端是个纯restful服务器,因此只要给后端加数据库表,前端怎么来都可以, 这部分难度相当小

也计划做主题扩展, 不过并不是像hexo那种直接改模版, 而是这个意思: 我提供RESTful API, 你想换主题了就自己拿着这些API去写一个新的博客前台, 至于是用vue还是react还是angular都不会有限制。 这个博客前台甚至可以不是前端页面, 可以是Android/IOS的app, 还可以是Electron这样的桌面端app。

目前RESTful API包括鉴权(OAuth1)都已经做完了, 因此目标其实已经完成了一大半, 接下来我会做的一些TODO如下, 等会儿会更新到readme中:

  • 前台单页的vue2.0服务端渲染
  • 后台单页升级vue2.0
  • 后台单页使用element ui
  • 后台单页支持schema的新建/编辑/删除

忘了说, 你可以看一下前台单页的组件, 总共也就十个, 因此拿RESTful API来创建一个新的前台单页非常简单, 一天不到就可以写完

from blog.

zhaozhe0831 avatar zhaozhe0831 commented on May 18, 2024

那具体的我能做些什么呢?

从 TODO 列表里选就可以吗?

代码结构规范有什么要求?

js css 之类的,按照 stylelint ,eslint 来就行吗?

我看目前是有 eslint 的。

除此之外,其他方面有什么要求吗?

我这面现在是 fork 了一下。

from blog.

smallpath avatar smallpath commented on May 18, 2024

嗯, 从TODO里选就可以了, 代码规范暂时不用管, 那个是准备每次发新版本时用的, 现在还没用上。

其他方面的话, 目前暂时不要选前台单页, 那个现在在弄ssr, 目前无法上线, 因此建议你选后台管理单页的一些功能点, 就用vue1.0就可以了。

如果选服务器端的话, 如果要加新表,和我说一声就ok

from blog.

zhaozhe0831 avatar zhaozhe0831 commented on May 18, 2024

服务端没写过,那我就写后台的功能点了。

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from blog.

smallpath avatar smallpath commented on May 18, 2024

晚上好:
前台单页的服务端渲染以及对应的部署文档已经完成了, 你可以查看demo尝试SSR效果如何。
另外,TODO我更新了一些, 你可以看一看

from blog.

Related Issues (16)

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.