Code Monkey home page Code Monkey logo

handifinal's Introduction

handifinal

English below

Version française

Ceci est le dépot du projet menet dans le cadre de l'UE multiple forme du métier au sein du master sciences cognitives de l'université de Bordeaux.

Ce site fonctionne avec Django. Si vous ne connaissez rien à la programmation vous pouvez suivre ce tutoriel de DjangoGirl https://tutorial.djangogirls.org qui vous permet d'apprendre à concevoir et maitriser Django. Si vous savez programmer, partez directement sur le tuto Django https://www.djangoproject.com/start/

Pour développer et rendre accessible le site au public, utilisez https://www.pythonanywhere.com qui permet d'héberger gratuitement le site. (suivre ces instructions pour installer le site https://tutorial.djangogirls.org/en/deploy/)

Le template (autrement dit le design du site) a été réalisé avec bootstrap. http://getbootstrap.com


ENglish

This is the project's repository of a site dedicated to list hardware and software for personn with dissabilities. This site has been develop during "multiple forme du métier" course within the cognitive science degree at the University of Bordeaux.

This site has been made with love... by Django. If you don't know anything about programming, you can follow this DjangoGirl's tutorial https://tutorial.djangogirls.org which allows you to learn to design a website with Django. If you know how to code, goto Django tutorial https://www.djangoproject.com/start/

In order to push this website online, use https://www.pythonanywhere.com to host it for free. (follow these instructions to install the site https://tutorial.djangogirls.org/en/deploy/)

The template was made with bootstrap. http://getbootstrap.com

Développement web:

Fonctionnement basique du framework python Django


Menu vu par l'utilisateur

Code html (template)

...
<a href="/home">Accueil</a>
...

URL

On associe une requête vers une adresse à une fonction.

url('/home', home)

Views

def home(request):
	
    # récupérer les technologies dans la base de données
    technos = Technology.objects.all()
    
    # générer une page html et la renvoyer à l'utilisateur
    return render(
    	     request,
            'home.html',
            {'technos': technos}
    )

Models

from django.db import models


class Technology(models.Model):

    """
    modèle de technologie
    une instance de ce modèle == une ligne dans la bdd
    un attribut == une colonne dans la bdd
    
    """
    
    nom = models.Charfield()
    prix = models.IntergerField()
    ...
    

Démonstration des fonctionnalités du site


Pour aller plus loin

  • Améliorer l'accessibilité : Text to speech, contrastes élévés...
  • Améliorer la fonction de recherche (code commenté)
  • Trouver un hébergement viable
  • Vérifier les vidéos associées aux technologies
  • Ajouter des images pour les technologies existantes

handifinal's People

Contributors

bsgarcia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.