Skip to main content

Ralsina.Me — Roberto Alsina's website

Código Charla PyDay "Como Hacer una API REST en Python, spec first"

El 4/4/2018 di una char­la en un Py­Day so­bre co­mo im­ple­men­tar una API REST a par­tir de una es­peci­fi­cación hecha en Swag­ger/Ope­nAPI us­an­do Con­nex­ion

/images/pyday-api-rest.jpg

Fo­to toma­da por Yami­la Cues­tas

Si bi­en no pude grabar la char­la (al­guien en la au­di­en­cia si lo hi­zo, pero no me dio el video! Pasame el video, per­sona de la au­di­en­ci­a!) y no hay slides, acá es­tá el códi­go que mostré, que es rel­a­ti­va­mente sen­cil­lo y fá­cil de seguir.

Códi­go de la char­la

Cualquier cosa pre­gun­ten.

PD: Sí, po­dría hac­er la char­la en un video nue­vo. Sí, me da mucha pereza.

My Git tutorial for people who don't know Git

As part of a book project aimed at al­most-be­gin­ning pro­gram­mers I have writ­ten what may as well pass as the first part of a Git tu­to­ri­al. It's to­tal­ly stan­dalone, so it may be in­ter­est­ing out­side the con­text of the book.

It's aimed at peo­ple who, of course, don't know Git and could use it as a lo­cal ver­sion con­trol sys­tem. In the next chap­ter (be­ing writ­ten) I cov­er things like re­motes and push/pul­l.

So, if you want to read it: Git tu­to­ri­al for peo­ple who don't know git (part I)

PS: If the di­a­grams are all black and white, reload the page. Yes, it's a JS is­sue. Yes, I know how to fix it.

I have written half a book

LIke men­tioned be­fore I am try­ing to write a book and ... well, I may be ac­tu­al­ly mak­ing pro­gress? At least the gen­er­at­ed PDF is about 170 pages long, which means I have writ­ten a bunch in this past month.

I have fin­ished the sec­ond of four planned part­s, which means I have done about half of it. Since I ex­pect the next two parts to be short­er, it's ac­tu­al­ly more than that.

The tar­get au­di­ence are peo­ple who have fin­ished the python tu­to­ri­al but are not ex­act­ly pro­gram­mers yet. They have the syn­tax more or less in their head­s, but how do you turn that in­to an ac­tu­al piece of code?

  • Part 1 is about "pro­­to­­typ­ing", the process of dump­ing an idea in­­­to rough code.

  • Part 2 is about pol­ish­ing that rough code in­­­to ... not so rough code. In­­­cludes a gen­­tle in­­tro­­duc­­tion to test­ing, for ex­am­­ple.

  • Part 3 (to be writ­ten) is about things that are not code:

    • Git / Git­lab

    • Is­­­sues

    • Pack­­­ag­ing

    • Set­t­ing up a we­b­site

    • CI

    • Lots more

  • Part 4 is still to be thought but ba­si­­cal­­ly it will cov­­er im­­ple­­men­t­ing a large fea­­ture from the ground up.

I much ap­pre­ci­ate com­ments about it.

PD: Si, va a haber una tra­duc­ciń al castel­lano. O mas bi­en al ar­genti­no. Una vez que lo ter­mine.


Contents © 2000-2020 Roberto Alsina