apuntes:introduccion
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apuntes:introduccion [2017/09/21 01:18] – [Lenguajes y tecnologías para programación web en entorno servidor] Santiago Faci | apuntes:introduccion [2019/02/13 17:16] (current) – [Herramientas para el desarrollo web en entorno servidor] Santiago Faci | ||
|---|---|---|---|
| Line 96: | Line 96: | ||
| {{ lamp.jpg }} | {{ lamp.jpg }} | ||
| < | < | ||
| + | |||
| + | El lenguaje //PHP// fue diseñado por //Rasmus Lerdorf// y ahora se mantiene por una comunidad de desarrolladores, | ||
| A continuación, | A continuación, | ||
| Line 158: | Line 160: | ||
| Por otra parte, [[http:// | Por otra parte, [[http:// | ||
| + | |||
| + | Ambas son tecnologías desarrolladas por //Sun Microsystems// | ||
| < | < | ||
| Line 240: | Line 244: | ||
| ((http:// | ((http:// | ||
| + | |||
| + | El lenguaje //Python// fue diseñado por //Guido van Rossum// y ahora se mantiene gracias a una comunidad de desarrolladores, | ||
| < | < | ||
| {{ django_apache.png }} | {{ django_apache.png }} | ||
| < | < | ||
| + | |||
| + | Ejemplo de código escrito con Python. En este caso utilizando el framework //Django// para el desarrollo de aplicaciones web: | ||
| + | |||
| + | En este caso, al tratarse de un framework MVC, tendremos la vista: | ||
| + | |||
| + | <code python> | ||
| + | < | ||
| + | {% if lista_peliculas %} | ||
| + | < | ||
| + | {% for pelicula in lista_peliculas %} | ||
| + | < | ||
| + | {% endfor %} | ||
| + | </ul> | ||
| + | {% else %} | ||
| + | < | ||
| + | {% endif %} | ||
| + | </ | ||
| + | |||
| + | Separada del controlador: | ||
| + | |||
| + | <code python> | ||
| + | from django.shortcuts import render | ||
| + | |||
| + | . . . | ||
| + | |||
| + | def index(request): | ||
| + | lista_peliculas = Pelicula.objects.all() | ||
| + | context = {' | ||
| + | return render(request, | ||
| + | </ | ||
| === ASP.NET === | === ASP.NET === | ||
| - | ((https:// | + | [[https:// |
| + | |||
| + | Al funcionar sobre la plataforma //.NET// de Microsoft, permite que se pueda desarrollar en cualquier de los lenguajes de programación de dicha plataforma, //Visual Basic .NET// o //C#//. | ||
| + | |||
| + | Lo más habitual es verlo funcionar junto con el servidor web de Microsoft, IIS (Internet Information Server). | ||
| < | < | ||
| {{ asp_iis.png }} | {{ asp_iis.png }} | ||
| < | < | ||
| - | ==== Herramientas para el desarrollo web en entorno servidor ==== | ||
| - | ---- | + | A continuación, |
| - | ===== Ejercicios ===== | + | <code csharp> |
| + | protected void Button1_Click(object sender, EventArgs e) | ||
| + | { | ||
| + | | ||
| + | | ||
| + | } | ||
| + | </ | ||
| - | ---- | + | <code html> |
| + | <%@ Page Language=" | ||
| + | | ||
| - | ===== Proyectos de Ejemplo ===== | + | < |
| - | ---- | + | <html xmlns=" |
| - | ===== Prácticas | + | < |
| + | < | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | |||
| + | <form id=" | ||
| + | < | ||
| + | |||
| + | < | ||
| + | </ | ||
| + | |||
| + | <br /> | ||
| + | <br /> | ||
| + | |||
| + | < | ||
| + | <hr /> | ||
| + | |||
| + | <h3> Results: </ | ||
| + | <span runat=" | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| ---- | ---- | ||
| - | (c) 2017 Santiago Faci | + | (c) 2017-2019 Santiago Faci |
apuntes/introduccion.1505956704.txt.gz · Last modified: 2019/01/04 13:22 (external edit)