Introduktion till gymnasiekursen Webbutveckling.
Slidern är lånad av den eminenta läraren på Östra Gymnasiet Markus Pettersson. Den kommer snart ersättas av Pooma egen slide!
For Dada art is no comfortable armchair (but a piece of furniture or a business investment)! For Dada art is the unexpected appearance of thought and beauty, which is just as unpredictable, single and unrepeatable as life itself.
Let’s just free Her from the captivity of museums, exhibition halls, galleries, literary magazines or reading sessions and present art in the streets!
A project made up by the Dunaway Gallery attempts to make Tristan Tzara’s literary works widely known by placing parts and verses of his Dadaist poems and manifestos on 20 outdoor benches.
The artists Zsolt Dóró, Dániel Farkas, Attila Nyakas and Norbert Szabó merged their visual worlds with the visual motives and the morals of Tzara’s poems. The poems and manifestos appear on the back of the benches, both the extracts and the full texts. Every single bench is an individual work of multidisciplinary art. They have functional aims and bring art close to the public. The project was realized in the form of an unconventional outdoor exhibition on the Danube Battery of Szentendre. Now the benches are waiting to go to the streets of Zurich next spring to be able to herald that art is no comfortable armchair but an outdoor bench we can sit on.
Introduktion till gymnasiekursen Webbutveckling.
Slidern är lånad av den eminenta läraren på Östra Gymnasiet Markus Pettersson. Den kommer snart ersättas av Pooma egen slide!
For Dada art is no comfortable armchair (but a piece of furniture or a business investment)! For Dada art is the unexpected appearance of thought and beauty, which is just as unpredictable, single and unrepeatable as life itself.
Let’s just free Her from the captivity of museums, exhibition halls, galleries, literary magazines or reading sessions and present art in the streets!
A project made up by the Dunaway Gallery attempts to make Tristan Tzara’s literary works widely known by placing parts and verses of his Dadaist poems and manifestos on 20 outdoor benches.
The artists Zsolt Dóró, Dániel Farkas, Attila Nyakas and Norbert Szabó merged their visual worlds with the visual motives and the morals of Tzara’s poems. The poems and manifestos appear on the back of the benches, both the extracts and the full texts. Every single bench is an individual work of multidisciplinary art. They have functional aims and bring art close to the public. The project was realized in the form of an unconventional outdoor exhibition on the Danube Battery of Szentendre. Now the benches are waiting to go to the streets of Zurich next spring to be able to herald that art is no comfortable armchair but an outdoor bench we can sit on.
I tsavvy ppt_introduction_internet_20150702Patrick Epps
This is an introduction to ITsavvy and the products and services that we offer. We are a Value-Added Reseller offering IT products, Managed Services and Engineered Solutions. For more information email me at pepps@
This is an Introduction To ITsavvy, an award-winning VAR. We not only offer products to our clients, but also managed services and engineered solutions. We provide for their needs end-to-end.
ITsavvy was recently voted as the World's top 15 managed services provider by Penton Technology.
Презентация российской компании Postgres Professional о новой версии СУБД Postgres Pro, которая по сравнению с PostgreSQL обладает рядом возможностей необходимых корпоративным клиентам.
Slides in swedish from a presentation I held at Valtech Days 2009 on the architecture of the web. I discus HTTP, resource and service application design.
HT15, DA354A - Introduktion till Webbprogrammering - Bottle
1. Episode X: The Python
Way Of The Force
May the web be with you…
2.
3. Dagens agenda
• Demo på vad vi ska bygga
• Bygga webbsidor med Python
• Webbserver med Python
• Server => Python
• Klient => HTML/CSS
• Bottle som mikroramverk
• Vad är ett mikroramverk?
• Routes => Funktioner
• Bygga vår webbplats
4. Vad vi ska bygga
http://tibbelit.pythonanywhere.com/
6. En webbserver är antingen ett datorprogram som
tillhandahåller webbsidor för en
viss webbplats eller en serverdator på vilken sådan
programvara körs.
I vårt fall ett datorprogram – skrivet i Python
7. Webbserver
• Ett webbserverprogram har som uppgift att tillhandahålla webbsidor och andra filer
via datakommunikationsprotokollet HTTP eller HTTPS, vanligen över Internet.
• Det förekommer också att en enskild användare kör en webbserver för eget lokalt
bruk på sin egen dator. Vanligen kommunicerar användaren med webbservern med
hjälp av en webbläsare.
• Användaren väljer webbsidor och webbläsaren beställer webbsidorna från
webbservern och visar dem på användarens datorskärm. Webbläsaren är klient till
webbservern.
15. Mikroramverk
• En samling funktioner för att bygga webbplatser, med fokus på
• Snabbt
• Smidigt
• Resurssnålt
• Exempel på mikroramverk
• Bottle (Python)
• Flask (Python)
• Slim (PHP)
• Silex (PHP)
• Camping (Ruby)
• Sinatra (Ruby)
16. Bottle – Ett mikroramverk i Python
• Bottle har många inbyggda funktioner, men fokuserar på:
• Routing Mappa URL:r mot funktioner
• Templates Skapa mallar (HTML) för att presentera innehåll
• Utilities Tillgång till data, ladda upp filer, cookies, HTTP-möjligheter, m.m.
• Server Inklulderar en inbyggd HTTP-server
• Bottle är endast en enda fil
• Bottle använder bara standard-biblioteket för Python
• Man installera bottle genom PIP, easy_install, eller laddar hem py-filen.
17. Bottle - Routes
• Vi vill kunna mappa URL till olika funktioner i Python
• /home => def home():
• /contact => def contact():
• /about => def about():
127.0.0.1/home
Starwarsvote.com/home
Thedarkside.com/home
24. Templates -
Mallar för vår
information
Join the dark side, we have the prettiest web sites!
25. Bottle - Templates
• Templates är mallar för hur vi ska presentera vår information
• HTML
• CSS
• JavaScript
• Vi kan skicka data (bearbetad utav Python) till våra malla för att skapa dynamiska
webbsidor
26. Bottle – Templates och statiska filer
• Alla templates ska:
• Ligga i mappen ”view”
• Ha filendelsen *.tpl
• Statiska filer (bilder, css, js, etc.) ska:
• Ligga i mappen ”static”
31. Routes => Vilka behöver vi?
Route Syfte Metod Template
/ Till vår startsida GET index
/vote Rösta på en sida POST index
/disqus Visa gästbok GET disqus
/disqus-post Skriv ett inlägg POST disqus
*error404* En sida som inte finns Alla error
35. Röstningen
• Spara alla röster i filen ”votes.txt”
• Spara rösterna som JSON-format, enligt följande mall:
{
"empire": 0,
"rebels": 0
}
• Vi kan omvandla ett lexikon i Python till JSON genom:
• json_votes = json.dumps(votes)
• Vi kan omvandla JSON till Python-datatyper genom:
• Votes = json.loads(json_votes)