Encurtador URL MongoDB: PHP URL shortener that stores URLs in MongoDB

Recommend this page to a friend!
  Info   View files View files (32)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2020-11-23 (11 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 51 All time: 10,091 This week: 238Up
Version License PHP version Categories
encurtador-url-mongo 1.0.0MIT/X Consortium ...5HTTP, PHP 5, Databases
Description Author

This package implements a PHP URL shortener application that stores URLs in MongoDB.

It provides an application that uses the model-view-controller design pattern to implement several types of actions the URL shortener application.

Currently it implements several actions like to store and retrieve information about short URLs stored in the MongoDB database:

- Create a short URL
- Retrieve the last short URLs that were accessed
- Get the details about a specific URL
- Update the statistics about the accesses to a given URL

Innovation Award
PHP Programming Innovation award nominee
November 2020
Number 9
URL shortener solutions are useful to help sharing URLs of Web site pages in a way that those URLs are shorter and easier to understand.

That may help to encourage users to share URLs just by typing them, as they need to type less characters to share the same URL that often may be very long.

This package provides a URL shortener solution that uses MongoDB, thus making it more feasible to scale a solution that can be used to share many more URLs using less resources from servers running PHP, than it would by using more traditional databases.

Manuel Lemos
Picture of Lucas de Oliveira
  Performance   Level  
Name: Lucas de Oliveira <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 27
All time rank: 2755193 in Brazil Brazil
Week rank: 1032 Up56 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 5x

Details

Encurtador de URL com MongoDB

Minicurso de PHP com MongoDB - XI Semana da Computação UNISAL 2015

Requisitos

Instalação

  • `git clone https://github.com/deoliveiralucas/encurtador-url-mongodb.git`
  • `cd encurtador-url-mongodb`
  • `php composer.phar install`
  Files folder image Files  
File Role Description
Files folder imagepublic (1 file, 1 directory)
Files folder imagesrc (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  public  
File Role Description
Files folder imageassets (3 directories)
  Accessible without login Plain text file index.php Aux. Auxiliary script

  Files folder image Files  /  public  /  assets  
File Role Description
Files folder imagecss (2 files)
Files folder imageimg (2 files)
Files folder imagejs (2 files)

  Files folder image Files  /  public  /  assets  /  css  
File Role Description
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  public  /  assets  /  img  
File Role Description
  Accessible without login Image file error.png Icon Icon image
  Accessible without login Image file logo-unisal.png Icon Icon image

  Files folder image Files  /  public  /  assets  /  js  
File Role Description
  Accessible without login Plain text file jquery.min.js Data Auxiliary data
  Accessible without login Plain text file script.js Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageUnisal (1 directory)

  Files folder image Files  /  src  /  Unisal  
File Role Description
Files folder imageEncurtador (1 file, 6 directories)

  Files folder image Files  /  src  /  Unisal  /  Encurtador  
File Role Description
Files folder imageController (2 files, 6 directories)
Files folder imageFactory (1 file)
Files folder imageMapper (2 files)
Files folder imageMongoDB (1 file)
Files folder imageService (4 files)
Files folder imageviews (4 files, 1 directory)
  Plain text file Application.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Controller  
File Role Description
Files folder imageAcessar (1 file)
Files folder imageDetalhes (1 file)
Files folder imageEncurtar (1 file)
Files folder imageErro (1 file)
Files folder imageHome (1 file)
Files folder imageSobre (1 file)
  Plain text file ControllerManager.php Class Class source
  Plain text file IController.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Controller  /  Acessar  
File Role Description
  Plain text file AcessarController.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Controller  /  Detalhes  
File Role Description
  Plain text file DetalhesController.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Controller  /  Encurtar  
File Role Description
  Plain text file EncurtarController.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Controller  /  Erro  
File Role Description
  Plain text file ErroController.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Controller  /  Home  
File Role Description
  Plain text file HomeController.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Controller  /  Sobre  
File Role Description
  Plain text file SobreController.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Factory  
File Role Description
  Plain text file ServiceFactory.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Mapper  
File Role Description
  Plain text file EncurtadorMapper.php Class Class source
  Plain text file IMapper.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  MongoDB  
File Role Description
  Plain text file Config.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  Service  
File Role Description
  Plain text file EncurtadorService.php Class Class source
  Plain text file GraficoGoogleService.php Class Class source
  Plain text file PeriodoService.php Class Class source
  Plain text file URLService.php Class Class source

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  views  
File Role Description
Files folder imagelayout (1 file)
  Accessible without login Plain text file detalhes.twig Data Auxiliary data
  Accessible without login Plain text file erro.twig Data Auxiliary data
  Accessible without login Plain text file index.twig Data Auxiliary data
  Accessible without login Plain text file sobre.twig Data Auxiliary data

  Files folder image Files  /  src  /  Unisal  /  Encurtador  /  views  /  layout  
File Role Description
  Accessible without login Plain text file base.twig Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:51
This week:0
All time:10,091
This week:238Up
For more information send a message to info at phpclasses dot org.