Code Monkey home page Code Monkey logo

sa-weibo's Introduction

SA-Weibo

软件体系结构课程项目

Step1:设计与实现观察者体系结构(解耦)

针对微博应用,实现对微博的后台操作,具体要求如下:

1、实现微博对象(即被观察者Observable),用于存储并操作微博内容,包括查看、修改、增加、删除等功能,
微博内容一旦改变,会通知"日志构件"记录操作日志。
微博被阅读一次,通知"记数构件"记录阅读次数(因此,是两种事件,日志构件和计数构件关注的是不同事件)。

2、实现一个日志构件(即Observer),用于微博记录操作日志.

3、实现一个记数构件(即Observer),用于记录微博点击次数.

4、数据库自行设计,通过JDBC操作数据库

sa-weibo's People

Contributors

zheminliu 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.