npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ralltiir

v2.13.14

Published

[![Build Status](https://travis-ci.org/Ralltiir/ralltiir.svg?branch=master)](https://travis-ci.org/Ralltiir/ralltiir) [![Coverage Status](https://coveralls.io/repos/github/Ralltiir/ralltiir/badge.svg?branch=master)](https://coveralls.io/github/Ralltiir/ra

Downloads

113

Readme

Ralltiir

Build Status Coverage Status

简介

Ralltiir 前端极速浏览框架,是一种前端异步单页技术。 点击超链接或浏览器跳转时,异步地获取数据并将内容展现给用户。 以此来减少用户等待时间,以及提高页面渲染速度。 Ralltiir的核心理念是让页面间的跳转变得更流畅、平滑且有交互感。 Ralltiir 主要特性如下:

  • 更快的页面加速
  • 更多的用户到达
  • 更好的浏览体验
  • 低成本的接入方式

整体架构

Ralltiir 是由一系列技术构成的解决方案,为了最大限度地灵活和通用。

Ralltiir 采取分层设计,产品方可通过编写 Service 来控制具体的页面入场、渲染和退场行为。

Ralltiir 整体架构中包括低层的AMD环境、 Ralltiir框架核心。

Ralltiir 技术原理

Ralltiir的路由主要实现

1、注册Service到URL

2、监听URL的变化:通过监听浏览器的popstate,劫持超链接点击实现。

3、当URL变化时,根据已注册配置,创建Service并完成新旧Service的切换。

1、Partical Update 复用view机制进行局部更新(不产生历史)

2、Performance 性能监控

3、Transition 动画

安装

推荐通过 APM 安装和使用 ralltiir。

# 安装 apm
npm install -g apmjs
# 安装 ralltiir
apmjs install --save ralltiir

使用Superframe技术

你可以从编写Service开始,创造出支持任何需求的基于Ralltiir的SPA应用,你可以在Ralltiir 教程获得支持。

但是当您的产品业务希望使用Ralltiir技术,却又没有深度定制的需求的时候,也可以采用我们提供的 Ralltiir Application的集成方案快速实现,Ralltiir Application已经实现了一个常见的SPA容器页及页面过渡效果。