Comments (1)
关于MVP,其实本来有很多想说的,现在就这么说吧,MVP没有一个约定俗称的规范,就是google发布MVP demo也没有得到多少人的认可,反正其本质就是视图和逻辑处理分离,只要做到了这点,MVP的风格完全是可以个人化的,你觉得舒服就行了,当然如果公司有成熟的框架肯定是要沿用的,我说的这些只适合个人的开发项目。
第二个就是小说源的问题,我这里用的是jsoup抓取HTML页面,你可以根据不同的网站的html编码来封装对应这个网站抓取小说内容的工具类。要具体实现这个功能,还是很庞大的,你要先chapter表中添加小说源字段,book表中添加小说源集合字段,用于记录书的源有哪些;然后就是要把搜索整合,搜索结果可以在把几个不同网站的结果合并,然后在搜索结果列表每本书中添加小说源的选择。当然相应的在阅读页面也要添加换源,利用不同的源加载章节,刷新数据。基本上就这样了,你可以自己实现下,这段时间暂时应该不会更新
from misszzzreader.
Related Issues (11)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from misszzzreader.