Enviar búsqueda
Cargar
kRouter
•
0 recomendaciones
•
593 vistas
Kelp Chen
Seguir
AngularJS router without location.hash. https://github.com/kelp404/kRouter
Leer menos
Leer más
Tecnología
Educación
Denunciar
Compartir
Denunciar
Compartir
1 de 27
Descargar ahora
Descargar para leer sin conexión
Recomendados
Php resque
Php resque
Chaitanya Kuber
Background Jobs with Resque
Background Jobs with Resque
homanj
Open Source Saturday - How can I contribute to Ruby on Rails?
Open Source Saturday - How can I contribute to Ruby on Rails?
Pravin Mishra
Background processing with Resque
Background processing with Resque
Nicolas Blanco
Tdc 2013 - Ecossistema Ruby
Tdc 2013 - Ecossistema Ruby
Fabio Akita
Building an API with Django and Django REST Framework
Building an API with Django and Django REST Framework
Christopher Foresman
OWASP Nagpur Meet #3 Android RE
OWASP Nagpur Meet #3 Android RE
OWASP Nagpur
Real-time search in Drupal. Meet Elasticsearch
Real-time search in Drupal. Meet Elasticsearch
Alexei Gorobets
Recomendados
Php resque
Php resque
Chaitanya Kuber
Background Jobs with Resque
Background Jobs with Resque
homanj
Open Source Saturday - How can I contribute to Ruby on Rails?
Open Source Saturday - How can I contribute to Ruby on Rails?
Pravin Mishra
Background processing with Resque
Background processing with Resque
Nicolas Blanco
Tdc 2013 - Ecossistema Ruby
Tdc 2013 - Ecossistema Ruby
Fabio Akita
Building an API with Django and Django REST Framework
Building an API with Django and Django REST Framework
Christopher Foresman
OWASP Nagpur Meet #3 Android RE
OWASP Nagpur Meet #3 Android RE
OWASP Nagpur
Real-time search in Drupal. Meet Elasticsearch
Real-time search in Drupal. Meet Elasticsearch
Alexei Gorobets
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Innovecs
Maarten Balliauw "Indexing and searching NuGet.org with Azure Functions and S...
Maarten Balliauw "Indexing and searching NuGet.org with Azure Functions and S...
Fwdays
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Maarten Balliauw
Real-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @Moldcamp
Alexei Gorobets
Drupal and Elasticsearch
Drupal and Elasticsearch
Nikolay Ignatov
[Srijan Wednesday Webinar] Easy Performance Wins for Your Rails App
[Srijan Wednesday Webinar] Easy Performance Wins for Your Rails App
Srijan Technologies
Mastering Grails 3 Plugins - Greach 2016
Mastering Grails 3 Plugins - Greach 2016
Alvaro Sanchez-Mariscal
Capistrano - automate all the things
Capistrano - automate all the things
John Cleary
Celery for internal API in SOA infrastructure
Celery for internal API in SOA infrastructure
Roman Imankulov
Getting Started with Capistrano
Getting Started with Capistrano
LaunchAny
What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015
jimi-c
Designing net-aws-glacier
Designing net-aws-glacier
Workhorse Computing
Google App Engine With Java And Groovy
Google App Engine With Java And Groovy
Ken Kousen
Web Operations101
Web Operations101
Nell Shamrell-Harrington
[JCConf 2020] 用 Kotlin 跨入 Serverless 世代
[JCConf 2020] 用 Kotlin 跨入 Serverless 世代
Shengyou Fan
Rust, Redis, and Protobuf - Oh My!
Rust, Redis, and Protobuf - Oh My!
Nell Shamrell-Harrington
Scaling up task processing with Celery
Scaling up task processing with Celery
Nicolas Grasset
Celery with python
Celery with python
Alexandre González Rodríguez
Gohan
Gohan
Nachi Ueno
(APP202) Deploy, Manage, and Scale Your Apps with AWS OpsWorks and AWS Elasti...
(APP202) Deploy, Manage, and Scale Your Apps with AWS OpsWorks and AWS Elasti...
Amazon Web Services
Caldera Learn - LoopConf WP API + Angular FTW Workshop
Caldera Learn - LoopConf WP API + Angular FTW Workshop
CalderaLearn
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Paulo Ragonha
Más contenido relacionado
La actualidad más candente
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Innovecs
Maarten Balliauw "Indexing and searching NuGet.org with Azure Functions and S...
Maarten Balliauw "Indexing and searching NuGet.org with Azure Functions and S...
Fwdays
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Maarten Balliauw
Real-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @Moldcamp
Alexei Gorobets
Drupal and Elasticsearch
Drupal and Elasticsearch
Nikolay Ignatov
[Srijan Wednesday Webinar] Easy Performance Wins for Your Rails App
[Srijan Wednesday Webinar] Easy Performance Wins for Your Rails App
Srijan Technologies
Mastering Grails 3 Plugins - Greach 2016
Mastering Grails 3 Plugins - Greach 2016
Alvaro Sanchez-Mariscal
Capistrano - automate all the things
Capistrano - automate all the things
John Cleary
Celery for internal API in SOA infrastructure
Celery for internal API in SOA infrastructure
Roman Imankulov
Getting Started with Capistrano
Getting Started with Capistrano
LaunchAny
What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015
jimi-c
Designing net-aws-glacier
Designing net-aws-glacier
Workhorse Computing
Google App Engine With Java And Groovy
Google App Engine With Java And Groovy
Ken Kousen
Web Operations101
Web Operations101
Nell Shamrell-Harrington
[JCConf 2020] 用 Kotlin 跨入 Serverless 世代
[JCConf 2020] 用 Kotlin 跨入 Serverless 世代
Shengyou Fan
Rust, Redis, and Protobuf - Oh My!
Rust, Redis, and Protobuf - Oh My!
Nell Shamrell-Harrington
Scaling up task processing with Celery
Scaling up task processing with Celery
Nicolas Grasset
Celery with python
Celery with python
Alexandre González Rodríguez
Gohan
Gohan
Nachi Ueno
(APP202) Deploy, Manage, and Scale Your Apps with AWS OpsWorks and AWS Elasti...
(APP202) Deploy, Manage, and Scale Your Apps with AWS OpsWorks and AWS Elasti...
Amazon Web Services
La actualidad más candente
(20)
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Maarten Balliauw "Indexing and searching NuGet.org with Azure Functions and S...
Maarten Balliauw "Indexing and searching NuGet.org with Azure Functions and S...
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Real-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @Moldcamp
Drupal and Elasticsearch
Drupal and Elasticsearch
[Srijan Wednesday Webinar] Easy Performance Wins for Your Rails App
[Srijan Wednesday Webinar] Easy Performance Wins for Your Rails App
Mastering Grails 3 Plugins - Greach 2016
Mastering Grails 3 Plugins - Greach 2016
Capistrano - automate all the things
Capistrano - automate all the things
Celery for internal API in SOA infrastructure
Celery for internal API in SOA infrastructure
Getting Started with Capistrano
Getting Started with Capistrano
What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015
Designing net-aws-glacier
Designing net-aws-glacier
Google App Engine With Java And Groovy
Google App Engine With Java And Groovy
Web Operations101
Web Operations101
[JCConf 2020] 用 Kotlin 跨入 Serverless 世代
[JCConf 2020] 用 Kotlin 跨入 Serverless 世代
Rust, Redis, and Protobuf - Oh My!
Rust, Redis, and Protobuf - Oh My!
Scaling up task processing with Celery
Scaling up task processing with Celery
Celery with python
Celery with python
Gohan
Gohan
(APP202) Deploy, Manage, and Scale Your Apps with AWS OpsWorks and AWS Elasti...
(APP202) Deploy, Manage, and Scale Your Apps with AWS OpsWorks and AWS Elasti...
Similar a kRouter
Caldera Learn - LoopConf WP API + Angular FTW Workshop
Caldera Learn - LoopConf WP API + Angular FTW Workshop
CalderaLearn
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Paulo Ragonha
Ruby/Rails
Ruby/Rails
rstankov
CakePHP
CakePHP
Walther Lalk
SproutCore and the Future of Web Apps
SproutCore and the Future of Web Apps
Mike Subelsky
Managing GraphQL servers with AWS Fargate & Prisma Cloud
Managing GraphQL servers with AWS Fargate & Prisma Cloud
Nikolas Burk
Remedie: Building a desktop app with HTTP::Engine, SQLite and jQuery
Remedie: Building a desktop app with HTTP::Engine, SQLite and jQuery
Tatsuhiko Miyagawa
Full Stack Scala
Full Stack Scala
Ramnivas Laddad
[Bristol WordPress] Supercharging WordPress Development
[Bristol WordPress] Supercharging WordPress Development
Adam Tomat
Fast Web Applications Development with Ruby on Rails on Oracle
Fast Web Applications Development with Ruby on Rails on Oracle
Raimonds Simanovskis
Full stack development with node and NoSQL - All Things Open - October 2017
Full stack development with node and NoSQL - All Things Open - October 2017
Matthew Groves
Full Stack Development with Node.js and NoSQL
Full Stack Development with Node.js and NoSQL
All Things Open
Going crazy with Node.JS and CakePHP
Going crazy with Node.JS and CakePHP
Mariano Iglesias
REST API に疲れたあなたへ贈る GraphQL 入門
REST API に疲れたあなたへ贈る GraphQL 入門
Keisuke Tsukagoshi
Advanced Technology for Web Application Design
Advanced Technology for Web Application Design
Bryce Kerley
Everything-as-code – Polyglotte Entwicklung in der Praxis
Everything-as-code – Polyglotte Entwicklung in der Praxis
QAware GmbH
Polyglot Adventures for the Modern Java Developer #javaone2017
Polyglot Adventures for the Modern Java Developer #javaone2017
Mario-Leander Reimer
Polyglot Adventures for the Modern Java Developer
Polyglot Adventures for the Modern Java Developer
QAware GmbH
huhu
huhu
Dung Trương
Java Libraries You Can’t Afford to Miss
Java Libraries You Can’t Afford to Miss
Andres Almiray
Similar a kRouter
(20)
Caldera Learn - LoopConf WP API + Angular FTW Workshop
Caldera Learn - LoopConf WP API + Angular FTW Workshop
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Single Page Web Applications with CoffeeScript, Backbone and Jasmine
Ruby/Rails
Ruby/Rails
CakePHP
CakePHP
SproutCore and the Future of Web Apps
SproutCore and the Future of Web Apps
Managing GraphQL servers with AWS Fargate & Prisma Cloud
Managing GraphQL servers with AWS Fargate & Prisma Cloud
Remedie: Building a desktop app with HTTP::Engine, SQLite and jQuery
Remedie: Building a desktop app with HTTP::Engine, SQLite and jQuery
Full Stack Scala
Full Stack Scala
[Bristol WordPress] Supercharging WordPress Development
[Bristol WordPress] Supercharging WordPress Development
Fast Web Applications Development with Ruby on Rails on Oracle
Fast Web Applications Development with Ruby on Rails on Oracle
Full stack development with node and NoSQL - All Things Open - October 2017
Full stack development with node and NoSQL - All Things Open - October 2017
Full Stack Development with Node.js and NoSQL
Full Stack Development with Node.js and NoSQL
Going crazy with Node.JS and CakePHP
Going crazy with Node.JS and CakePHP
REST API に疲れたあなたへ贈る GraphQL 入門
REST API に疲れたあなたへ贈る GraphQL 入門
Advanced Technology for Web Application Design
Advanced Technology for Web Application Design
Everything-as-code – Polyglotte Entwicklung in der Praxis
Everything-as-code – Polyglotte Entwicklung in der Praxis
Polyglot Adventures for the Modern Java Developer #javaone2017
Polyglot Adventures for the Modern Java Developer #javaone2017
Polyglot Adventures for the Modern Java Developer
Polyglot Adventures for the Modern Java Developer
huhu
huhu
Java Libraries You Can’t Afford to Miss
Java Libraries You Can’t Afford to Miss
Último
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Pooja Nehwal
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Alan Dix
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
Sujit Pal
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Último
(20)
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
kRouter
1.
kRouter https:/ /github.com/kelp404/kRouter
2.
Kelp github/kelp404! iOS App Developer! Front-end
Developer! Objective-C, CoffeeScript, Python
3.
kRouter Reason! CoffeeScript! kRouter! Unit Test! Conclusion
4.
kRouter SEO! location.hash `#`
5.
CoffeeScript
6.
CoffeeScript
7.
JavaScript https:/ /github.com/madrobby/semicolon.js
8.
CoffeeScript
9.
JavaScript } } } }
10.
CoffeeScript
11.
JavaScript return { id: 1002
, name: ‘Kelp’ , email: ‘kelp@phate.org’ };
12.
CoffeeScript id: 1002 name: ‘Kelp’ email:
‘kelp@phate.org’
13.
JavaScript function (members, name)
{ var result = []; for (var index = 0; index < members.length; index++) { if (members[index].name == name) { result.push(members[index]); } } return result; }
14.
CoffeeScript (members, name) -> x
for x in members when x.name is name
15.
JavaScript $(function () { $(document).on(‘click’,
‘#link’, function () { var s = $(‘#text’).text(); $(this).html(‘Hello ‘ + s + ‘!!’); }); });
16.
CoffeeScript $ -> $(document).on ‘click’,
‘#link’, -> s = $(‘#text’).text() $(@).html “Hello #{s}!!”
17.
JavaScript angular.module(‘app’, []) .controller(‘HomeController’, function
($scope) { $scope.text = ‘hello’; });
18.
CoffeeScript a = angular.module
‘app’, [] a.controller ‘HomeController’, ($scope) -> $scope.text = ‘hello’
19.
CoffeeScript npm install -g
coffee-script
20.
kRouter Routes! history.pushState()! window.onpopstate
21.
kRouter common.coffee! directive.coffee! module.coffee! provider.coffee
22.
common.coffee getUri: (href=location.href) ->! matchRoute:
(url, routes) ->! parseQueryString: (queryString) ->
23.
directive.coffee kr-view! kr-go
24.
module.coffee angular.module 'kRouter', [ 'kRouter.provider',
'kRouter.directive' ]
25.
provider.coffee $kRouterProvider.register = (name,
args={}) ->! routers: []! state: current: {} params: {}! go: (href, push=true) ->
26.
Unit Test Travis CI! karma! jasmine
27.
Conclusion npm install -g
coffee-script! git clone https:/ /github.com/kelp404/kRouter.git cd kRouter git submodule update --init
Descargar ahora