GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codimiracle/content-middleware: backend-componentized content-middleware

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.mvn/wrapper
.mvn/wrapper
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

content-middleware

for content-based service, we need to implement Content like topic, article, comment, movie, music and so on. the content-middleware can finish those requirements.

considering extensible, we abstract some interface with two concept:

  • Inflatable: meaning that the object attach another object likes user, tag, and so on.
  • Inflater: meaning that will mutate inflatable object to really object. commonly, it will access data source (as database) and generate correctly object.

Feature

the middleware provides some useful content service implementation for content-base service.

  • ContentService
  • ArticleService
  • ContentTagsService
  • ReferenceService
  • RateService
  • MentionService
  • LikeService
  • ExaminationService
  • FollowService

Usage

  1. includes content-middleware in pom.xml (see Maven Section)

  2. register beans with @ComponentScan:

    @ComponentScan(basePackages = "com.codimiracle.web.middleware.content")
  3. implements inflaters

    if you using vo convenience, you will be implement those inflater for getting an entire object.

    • ExaminerInflater
    • MentionUserInflater
    • ReferenceTargetInflater
    • OwnerInflater
    • FollowingUserInflater
    • FollowerInflater
    • TagInflater

Maven

(notes: doesn't publish to maven central yet)

<dependency>
    <groupId>com.codimiracle.web.middleware</groupId>
    <artifactId>content-middleware</artifactId>
    <version>0.0.1-SNAPSHOT</version>
</dependency>

About

backend-componentized content-middleware

Topics

content-servicemiddleware

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.