• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

spring-attic/spring-mobile: Extensions to Spring MVC for developing mobile web a ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

spring-attic/spring-mobile

开源软件地址(OpenSource Url):

https://github.com/spring-attic/spring-mobile

开源编程语言(OpenSource Language):

Java 99.9%

开源软件介绍(OpenSource Introduction):

spring-mobile is no longer actively maintained by VMware, Inc.

This project is no longer active and has reached end of life

Spring Mobile

Spring Mobile is an extension of the Spring Framework and Spring Web MVC that aims to simplify the development of mobile web applications.

Features

  • A device resolver abstraction for server-side detection of mobile and tablet devices

  • Site preference management that allows the user to indicate if he or she prefers a "normal", "mobile", or "tablet" experience

  • A site switcher capable of switching the user to the most appropriate site, either mobile, tablet, or normal, based on his or her device and optionally indicated site preference

  • Device aware view management for organizing and managing different views for specific devices

Download Artifacts

Include the spring-mobile-starter in your Spring Boot application to enable Spring Mobile's Auto-Configuration. See downloading Spring artifacts for Maven repository information. Unable to use Maven or other transitive dependency management tools? See building a distribution with dependencies.

Gradle

dependencies {
    compile("org.springframework.mobile:spring-mobile-starter:2.0.0.M2")
}
repositories {
    maven { url "https://repo.spring.io/milestone" }
}

Maven

<dependencies>
    <dependency>
        <groupId>org.springframework.mobile</groupId>
        <artifactId>spring-mobile-starter</artifactId>
        <version>2.0.0.M2</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>https://repo.spring.io/milestone</url>
    </repository>
</repositories>

Documentation

See the current Javadoc and reference docs.

Sample Applications

Several example projects are available in the samples repository.

Getting Started Guides

The spring.io web site contains many getting started guides that cover a broad range of topics.

Support

Review the spring-mobile tag on Stack Overflow.

Issue Tracking

Report issues via GitHub issues. Understand our issue management process by reading about the lifecycle of an issue.

Build from Source

  1. Clone the repository from GitHub:

    $ git clone https://github.com/spring-projects/spring-mobile.git
  2. Navigate into the cloned repository directory:

    $ cd spring-mobile
  3. The project uses Gradle to build:

    $ ./gradlew build
  4. Install jars into your local Maven cache (optional)

    $ ./gradlew install

Import Source into your IDE

Eclipse

  1. To generate Eclipse metadata (.classpath and .project files):

    $ ./gradlew eclipse
  2. Once complete, you may then import the projects into Eclipse as usual:

    File -> Import -> Existing projects into workspace
    

Note: Spring Tool Suite has built in support for Gradle, and you can simply import as Gradle projects.

IDEA

Generate IDEA metadata (.iml and .ipr files):

$ ./gradlew idea

Contribute

Pull requests are welcome. See the contributor guidelines for details.

Stay in Touch

Follow @SpringCentral as well as @SpringFramework on Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.

License

Spring Mobile is released under version 2.0 of the Apache License.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap