PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 61 All time: 10,477 This week: 455Up
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: 30
All time rank: 2758193 in Brazil Brazil
Week rank: 216 Up20 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 (32)  
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 (32)  /  public  
File Role Description
Files folder imageassets (3 directories)
  Accessible without login Plain text file index.php Aux. Auxiliary script

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

  Files folder image Files (32)  /  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 (32)  /  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 (32)  /  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 (32)  /  src  
File Role Description
Files folder imageUnisal (1 directory)

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

  Files folder image Files (32)  /  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 (32)  /  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 (32)  /  src  /  Unisal  /  Encurtador  /  Controller  /  Acessar  
File Role Description
  Plain text file AcessarController.php Class Class source

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

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

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

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

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

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

  Files folder image Files (32)  /  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 (32)  /  src  /  Unisal  /  Encurtador  /  MongoDB  
File Role Description
  Plain text file Config.php Class Class source

  Files folder image Files (32)  /  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 (32)  /  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 (32)  /  src  /  Unisal  /  Encurtador  /  views  /  layout  
File Role Description
  Accessible without login Plain text file base.twig Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:61
This week:0
All time:10,477
This week:455Up