Merken

Moving away from NodeJS to a pure python solution for assets

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
that we've got an extract from Alessandro only that you'll be telling us about moving away from the gesture onto Python can you think of lot in there will be chance to questions at the end
but they thank you for this I will
like to start by telling you why I decided to have the stall because I know that probably many of you are already using solution to transform a manage their assets probably you're being using the resources for more on
the hour like the know and improving the solution the GSC is involved in many ways the least around the tools that perform the constellation log from spirals themselves or whatever but I know that many people approached the solution that they are using today for the
reason that they don't know there are there other ways to do that most people having have been doing that way issue and will go wherever how to do that the stresses out this probably bear witness
js and so people have been approaching that kind of solution mostly because that's the way you're meant to do but there are actually very good alternatives
that can solve also the problem of having to cope with 2 different languages I know for sure that anyone in this room it is a Python programmer mind not sure that that everyone in this room also used as prostitution we JavaScript on knowledge areas or whatever so I having to maintain 2 different environments with their dependencies different tools
different package manager was an insult both of them all in Europe and these development environment it's not even on the collection environment is not always what you want to do so let's talk about something that
probably happened in the life of every 1 of us which is that you have been able to study abroad using vital for everything you were framework is probably by companies use serve your API URI renew web page 3 you are able to run it using a Python based solution that you can write like genes for using fight so year we can deploy using supervised
loss you grows like a weed speedier even the what we the whatever you're using that it's probably confortable because you know you can go into the coordinated the writing good grasp of what's happening over right like genes for and extending the influence you probably also the blindly using a polite solved and civil vocal compose which are invited to and you probably monitor of the state of your application using a tool like century
the hyperbolic backlash which have evolved by the legend some of them even
of the control of the 5 and so on so we have finally able to to do everything we want by going into the final call messing with the extending the behavior would bring whatever we want know our stuff and that's
only not true for assets spot because 1 day you polygon holiday you come back and the front thing guiding introduce will numerical language when you dependency manager and was a new set of
things in the project which now and needs to be installed to hammered through having a new capital in your system and things like that which is not bad
because no JSI actually has a really good set of tools for doing these as a good set of files as most of them foreign files to jobless people and of being written by the generosity community have been written of course in the genus itself there is a good set of tools to automate testing of your Johnston followed from the 5 and there's a good
set of tools to automate tasks like for example gone will which are actually made to do their job and provide pipelines that transform your office and things like that so
the side effect of these is that while it's great tool and as a routine you use of need you know only
need to have a package manager to manage the package manager because you have need to be sure then environment you are working on you will have both the order of the for a May the we'll see if you use the binder distribution you need to make sure you have MPM to to be able to set up the working environment from scratch at least continuous integration more on the developers machines and so on so you we need better tools the thing is false for all of those the most simple cases in might be just the object itself in more complex
cases you might want to provide something like and then supposed to be the watchword deployed the working environment and then you have 2 different parade places where you need to we should talk radio dependencies because we will have the dependency P M and we will have the dependencies for people and in the most simple case 2 different people work on the 2 different parts of the system and update each 1 the own dependencies but in thinking that there might be feature that crossed through the breach of the 2 parts and you might need to be sure that to make the front-end of furor of their new functionality added you we need to other dependency in both places the the client and server side dependency French a and make sure that they get far more otherwise you future won't work as expected lot so you will probably end up having a pair of solutions on top of all of these 2 actually manage these
complexities and there are many and so far there is lot of really standard the father to rely on I mean you can probably try to achieve these by using a possible for everything you can prioritize which is used by by doing about the images you
can actually try to solve it solution many different problems but it's actually a problem that you should not need to solve because uh has been introduced for a powerful that in most cases can be solved without introducing the new technology that it's actually 3 during our problem we use different aspects and dependencies and there are pretty good frameworks them to
manage us at 1 of them is actually 1 assets which has been the 1 that I preferred although the run because it provides a really simple interface you think both through an API and through this thing for young flies certainly provides also the front-end part of your assets whenever you need to use enough that you can actually use it from uh by importing the forward velocity so if we also take care of things like H. catch blasting
and things like that for you so they can replace solutions like you think of being performed transformation of your acid because much like their works as a pipeline so you get some kind of which is usually a file and not involve providing another world which is usually a file itself which should be verifiable inspired you CSS or your images of this scale and things like that and the advantage of using this approach is that if you need something you can itself for scanning images if you need support for combining the last if you need support for soft so whatever you just rock the dependency in US about PY because the last compiler forward velocity justify the wreckage like were itself so if you need less you don't have to remember that you have step for before your application so you don't have to remember that you need to perform and MDM insoluble now have to remember that you need for running around you can actually make everything ultimately revival by having your application that when it's installed between you so the support for less than when he started with automatically provide home the acid without having to actually provide yourself a solution to the debt and actually worked with Rezgui framework so you can even use it as a leader the was around your framework
which doesn't care about the really language and the frame you're using and allows you to manage your assets independently for the framework even if you use playing we potential without the frame of the and as I told you that actually providing uh HTML side of the i th inject resources which is good because In many other cases when you we inject the resource you generated through may be granted goal you will have to provide
the tools to provide this emotional for things like each lasting yourselves link is the results changed in case you update the CSS file you want the browser to logged in you updated branch and not keep using
the old 1 just because the ball that has it been kept and user this is something you might need to why do you society maybe by being the world the URL so of things like that but where Bassett does it for you so when you generate a mesh of furans whenever there is changes the actually change and so they knew results will that company from the URL and as you inject them to energy I between when injected this year and every time you arrive you complete language and the way you define
uracil assessing where busses to saturate through bundles so a bundle is actually any kind of resources you can even be arid environment made of just 1 single seeing if you need to translate like you a single CSS file from some of tools USS you to encourage the bundle we've seen find inside and the bottom line is the find as something that has a name in this case we have to buy most style injury in each bundle might have a field there which for the 1st the the CIA sites you deals which is used to the CSS and we learn very mild with which in this case for simplicity is just if I love for that so uh everything inside the bundle will be unified and square students would then start of CSS 5 and actually can have content which can even be a bond itself because you can see a point where we have the contents 3 error
which is uh as this CSS files inside and provides a different field of which you do need fast which is used to prove out CSS see if the of course and source itself is a Python package so you can actually just the 2 use about the Y and parenting managed to Europe package manager so what happens is when 1
hour see so we need this style bundle you will actually end up combining the forming of the transformational and then there's the Mumbles look like in this case we will start by find the source files from west to see files and then if we adopt the form the upper part which in this case is this your system views field those on all the fights we specify on the
results of the previous model and we will end up with a single started CSS file which inside that's so that's useless 5 or lower file was filed by the and the result is that I mean if I and using MapReduce yes all of which are fully in this case of applies GS mean field as you can imagine profiles from unification of jobless that will have all these
5 so we cost them into dependencies of JS there we unified
and is them mean from Europe from then it started with the simple as uh Web assets will provide you with an environment that as knowledge about all of the bundles you created in the configuration and you can uh just inject their resources through these environments in my example the environment is owned by the application objects which is that the object you see them and what's happening is that not just create an IU on all the resources of their style of modern laws and creating new eating can 3 for each CSS always you might be asking why are you and so
you you actually get to have a single bond lonely style so there should be
only 1 theories on why are you is that actually few around with basetting divide mode you want form them unification a scorching anymore so you can divide your service also separated and there when you are sure that things work as we expect you turn the of off and you end up having a single resource so it will be seen that
0 sure that everything works both when you're running the bike and production modes what when you have a single or multiple resources generated by what and the same happens for the sold bundled we'll just loop through all of the urinalysis provided for the j-th all mammals and I inject this or
that so in this case the example you may using their conjugate template engine of again she what distinguishes this thing about 20 million words in there and you can the thing would if you look at the web bosses side you would find the samples in gene john but we didn't really
removed their problem properly because the of some more complex field there's where we need to web no JS available for example if I want to talk about money yes seeks called we years 5 to jobless given the browser that tradable for and I we're following me to bring in something like and level of is implemented in the GSC so are we need to install not JS Intel uh where where you can find bubble it's 5 which is also another really good in my opinion because I mean you know really
solve anything if I need to have knowledge AES Tober funded the bobble or bottle at that point it makes sense to just the images for everything don't have to luxury have lots of meiosis one-sided about somebody else's by playing on the other side and that's a point
of view still got from what I wanted to do we use so all of these probably not having to rely on luxurious evolve in my Python
environment and that's why I created by the body and that by is actually a replace 1 gs in many ways it's specifically meant for assets management so you want the variety in web application on top of the life he doesn't have apophany already where's doesn't have a server inside the adjusted jobless giving cover that we deal means spider for the most common environment most common languages and things like that so we can now just about by as a dependency of follows about file you know our requirements and we know
that whenever we need something that relies on job do we just have a fine without having to work some external local taking care of installing the things on the of the justifiable and there is a Python program which actually has no external dependencies that by itself becomes uh contained any nonlinear gene you will need the sequel viral because currently there is no binary distribution mostly on Yale we use
some portfolio environment useful quality of how we choose to work in a reliable way currently but the see dependencies cells doesn't use any C library apart from leaves sea so as far as average GCC insoluble need anything else to watch when installing go by the 5 so you just want the penis installed anyway and after that we that finds for the war and the reason why I created the these there because they were the of this file with the other existing solutions because like by its spider monkey yearly and solve for quite or require external tools like by on and it's a really needs to use only really have to be evolves like the life anyone of you ever
tried to be used by the monkey about the funding we like 2 days only trying to get the binary Johansson war so it's not really easy to have them integrate the nearest fall in view forces and values also specific tailored for web development so
it means that most things here we need are probably be of being to that 5 to make Europe assets 5 in Python itself this simple example is actually compiling costly so I don't need to install anything because in that by self theories CoffeeScript combine of you've been so just important that flying around the coffee going by the financial and I get that coffee said their job to generate out of that coffee and assume obvious that this is not something that we'll have a major problem solving them might not be compatible and on because it's not the coffee speed compiler implemented in Python it's actually very all of people violating JavaScript itself the surrounding bubble not 5 so whenever the confiscated compilers of the we're about the securities and support for the language or whatever it would be just a matter of replacing the maybe fixing to more free things inside the file and then you're really is about 5 we'll have some with that for of
major issue and the same applies for bubble I can convert my utmost give seeks to bring just by calling the bubble local by functional and you you see that I get out of plane jousted all of my class declaration that most get sick and also for types B so you can actually create unlocked web application using by and no need for knowledge adjustable I actually dB for real these soul you can declare have your application your class in
5 states and quantify then you will get the call by John Stuart of free and as I told you on edges to with the war on top of that part so this is
actually solve the problem of combining involves finding my results of my most probable resources was for simple thing so I can use were bastards which already provides for the future sigh you'd use money and for more complex seems like the most violent types is that most students on I can rely on the file which provide the field those
solar where itself so I can just imported from the .
5 if you go for a type Student from that 5 if you therefore Robert yes reduced of them in the world Boston and from that point on I will have some or 5 to above injurious inside my bundles so in this case you can see for example that I added a bunch of frat must give 6 5 which are by the unified into the off bundle and that's the cloud by the fact that the use the biology of which is provided by the book and you don't only the
stuff that you don't even need anymore because the body as a package manager foreign theorem ballpark being so she need to have a JavaScript dependency new work by item program you can just
use . 5 . installed JS package specified the the name of the package
that version that you want to install and if you want it's optional the directory where you want to install it might be for the you install the inside J. has directly of your uh
web applications which use from the environment where busses and it also installing the dependency of the package so if you're package should just be packages dependencies itself you will on nothing stopping them all and the issue makes these we various about tools whichever set copper requires financial you can bet that you're web
applications about so requires the body and they're all the jobless to dependence installed by set up close set so when it will be installed by whether you get when you find them in joules give dependencies but without the need of an external dependency manager and the other thing that you should not this is that that 5 not through a whole features as the NPM regional ones so for example in case of a collegial the increase to the same packages requires to the 2nd version of a package which collide which are not supported 1 by the other not by current we just take
the my numerous 1 so it would take for granted that the newest while should work we both of them but we not make more of bonds and things like filtering undermine eventually and things like that so In some cases if you want to specify the high-level dependency we you
might end up we call like independence installed but that's something you can solve by just specifying the precise version for each defendant you want work I plan to extend every or by providing full dependency resolution quote collegian inversion resolutions of the dependency resolution is already provided for the collegial part it's not and but currently has not been a major issue for me because like then just to specify the precise version of future my dependencies to make sure that the software is always installable even in 10 years from now and was really interesting thing is that that buys
compatible knowledge also for the requirements of packages so that by provides the required financial which is enabled between for knowledge ah yes packages and that makes possible to use something like 4 A after and you're street from several sides called in 5 sorry we can actually create these are more frequent propagation in Python without the need to honestly you know Julius anymore because we can just surrender the sum of the 5 about the users out from our title code by using that applied knowledge school 5 they're running then there uh rendered to static mark-up called which will render the periodic components including my cap inject these marked copies to our thin plate and never reaction from the client side continue from the up we generate actually if you want client-side react continue from the market we create the from the server should be you're using a random instead of 4 and of was that the market but that doesn't matter of just which the functioning of the so you can provide a 1st version of your
web page rendering from the several uh so that users use the revived the instantly and then they're kind cyberlibrary keep in continuous from that without any problem because we actually around the reality that reactor cooled from a so and not only there if you need to explore your Python
code from from particle of course and make it available inside job must be as you can college hours before vital we can actually called title from joules we just use the explores function feature offer about 5 and in this case we explored the sort that function which is the opinions of vitamin salts whatever available you throw in the we're the there's sort number so inside job we will we will be able to call the using called vital sort of numbers in passing the number out there should be sort of and we we'll get back as a result of course this sort the number of and also you don't have to care about their references to the objects and memory management because uh there is a choice I made which choose to
pass evolution by value so every value you passed back and forth from Python 2 this actually copied is not your original object itself is also much simpler a resolution of prominence in memory management references saying you want end not we leaking 19 . those vitamin B cosine quoting jobs to use leaking memory in which we need support which need to buy a lot it's leaking memory in Dallas consists easy sometimes but that long actually do anything to your Python code because you're just too passed back and forth both copies of long long the original so this is actually the
the everything I needed that I was really happy with that of the solution because like who actually manage all my
dependencies from about the y without the need to maintain and yeah more in external world than 1 thing is more than the element in the I
will perform on the past finding vital so if I needed to other feature a change something like most like with just next up with Python code then but by actually has been that by performing solution for me and I would say you should not use it on production because there is a lot of sequel I mean not on production should of using candlelight running web application should be using during the packaging of their webapplication because there is a lot of sequel inside I cannot guarantee that you won't trust we're a segmentation why lending it to follow the request cycle and things like that but for everything that is related to packaging and building the resources and so on it's always works without any problem for me so far the box they found
that being solved between here and here is me like and a few more things that are you have been using it without finding a new book so if you want to try to feel free to do that by actually works for rather than any use of Bible from to those seeks 3 . 5 and if you find any anybody feel free to open the issue on the top of the of the principle it's
fully tested I guarantee there is 1 on the coverage of all of the . 5 more than of example that ensured that all the Transpiler working when the idea of the that the jobless creates like all of and to use it you just have to be installing and have fun with it so thank you if you have
any questions so this is
really all some things were much which which 1 is off have you haven't had
an experience of using it for things like embassy airlines which is more opinionated no never
tried with the member I tried we then go from where are policy you feel free to variety to find any shorts and Yonina like tried to solve thanks very
much it's very cool to not have to run nutrients on my web server so thank you for that how do you know if your project will work with the the less seriousness compiler transpower the issue will
find you then tightened backed by itself because you have a less compiler for the webmaster so where I mostly use house but and I know there is the less compiler for where bosses self-sorting never came to my mind and but it it should be a matter of just lauding the JS file of the last compiler running with that's why in C that's what you expect use he does the only problem white faces we regular expressions because like by of actually applies there just stand out more tightly than the JSL sensing practices that Monday considered valid there were special and I not to laugh I will tell you where it is not valid you need to escape this part of the language but as far as a matter of fixing 2 4 Uribe especially new code we usually just 1 thank you very
much as related questions have you investigated the told the state of pure Python JavaScript interpreters
in and I'm not saying that it's single like vesicle most western because yes I the like in your original uh I tried to use some of them mother I'm not sure I the singular goal none of them a lot for you the stories were ratio that you throw in the JS library to eat we just for for example or not by uh has I invested pretty much some time into providing a compatible support for require function we should have been of dependencies resolution and all awards as of this same as yes and so if I I did it some time ago so it might be that the situation changed I wanted to be out the form of the year I think that
was the last question thank you very much
Surjektivität
Besprechung/Interview
Baum <Mathematik>
Spirale
Singularität <Mathematik>
Besprechung/Interview
Vorlesung/Konferenz
Knoten <Statik>
Computeranimation
Programmiergerät
Subtraktion
Flächeninhalt
Singularität <Mathematik>
Formale Sprache
Äußere Algebra eines Moduls
Knoten <Statik>
Programmierumgebung
Computeranimation
Erneuerungstheorie
Videospiel
Subtraktion
Singularität <Mathematik>
Vorlesung/Konferenz
Aggregatzustand
Web-Seite
Programmierumgebung
Framework <Informatik>
Computeranimation
Informationsmanagement
Einfügungsdämpfung
Rechter Winkel
Güte der Anpassung
Vorlesung/Konferenz
Kartesische Koordinaten
Aggregatzustand
Metropolitan area network
Diskrete-Elemente-Methode
Singularität <Mathematik>
Formale Sprache
Gamecontroller
Systemaufruf
Aggregatzustand
Computeranimation
Informationsmanagement
Softwaretest
Task
Menge
Güte der Anpassung
Projektive Ebene
Physikalisches System
Elektronische Publikation
Menge
Computeranimation
Soundverarbeitung
Distributionstheorie
Besprechung/Interview
Kontinuierliche Integration
Prozessautomation
Komplex <Algebra>
Service provider
Computeranimation
Office-Paket
Objekt <Kategorie>
Task
Virtuelle Maschine
Dämpfung
Ebene
Menge
Prozess <Informatik>
Vorlesung/Konferenz
Ordnung <Mathematik>
Softwareentwickler
Programmierumgebung
Informationsmanagement
Lineares Funktional
Client
Subtraktion
Ebene
Front-End <Software>
Mereologie
Server
Passwort
Komplex <Algebra>
Programmierumgebung
Bildgebendes Verfahren
Computeranimation
W3C-Standard
Caching
Geschwindigkeit
Freeware
Subtraktion
Transformation <Mathematik>
Weg <Topologie>
Mereologie
Vorlesung/Konferenz
Framework <Informatik>
Computeranimation
Schnittstelle
Caching
Geschwindigkeit
Zentrische Streckung
Rahmenproblem
Transformation <Mathematik>
Compiler
Atomarität <Informatik>
Weg <Topologie>
Formale Sprache
Kartesische Koordinaten
Transformation <Mathematik>
Elektronische Publikation
Framework <Informatik>
Computeranimation
W3C-Standard
Freeware
Bildgebendes Verfahren
Resultante
Energiedichte
Browser
Formale Sprache
Mathematisierung
Verzweigendes Programm
Polygonnetz
Elektronische Publikation
Binder <Informatik>
Web Site
Punkt
t-Test
Einfache Genauigkeit
Digitalfilter
Quellcode
Pen <Datentechnik>
Elektronische Publikation
Computeranimation
Metropolitan area network
Datenfeld
Vererbungshierarchie
Inhalt <Mathematik>
Programmierumgebung
Faserbündel
Gerade
Informationsmanagement
Fehlermeldung
Resultante
Sichtenkonzept
Profil <Aerodynamik>
Digitalfilter
Quellcode
Physikalisches System
Extrempunkt
Elektronische Publikation
Computeranimation
Arithmetisches Mittel
Metropolitan area network
Bildschirmmaske
Informationsmodellierung
Datenfeld
Mereologie
Faserbündel
Managementinformationssystem
Datentyp
Kartesische Koordinaten
Digitalfilter
Pi <Zahl>
Gesetz <Physik>
Computeranimation
Objekt <Kategorie>
Metropolitan area network
Benutzerbeteiligung
Reelle Zahl
Programmierumgebung
Konfigurationsraum
Faserbündel
Metropolitan area network
ATM
Dienst <Informatik>
Datentyp
Einfache Genauigkeit
Digitalfilter
Pi <Zahl>
Physikalische Theorie
Teilbarkeit
Computeranimation
ATM
Datentyp
Euler-Winkel
Template
Biprodukt
Pi <Zahl>
Computeranimation
Metropolitan area network
Loop
Benutzerbeteiligung
Benutzerschnittstellenverwaltungssystem
Stichprobenumfang
Wort <Informatik>
Innerer Automorphismus
Metropolitan area network
Komplexe Ebene
Benutzerbeteiligung
Punkt
Besprechung/Interview
Vorlesung/Konferenz
Advanced Encryption Standard
Compiler
Bildgebendes Verfahren
Computeranimation
Übergang
Videospiel
Sichtenkonzept
Spider <Programm>
Formale Sprache
Web-Applikation
Digitalfilter
Elektronische Publikation
Informationsmanagement
Computeranimation
Überlagerung <Mathematik>
Portscanner
Datenmanagement
Server
Programmierumgebung
Varietät <Mathematik>
Distributionstheorie
Videospiel
Spider <Programm>
Zellularer Automat
Digitalfilter
Elektronische Publikation
Computeranimation
W3C-Standard
Prozess <Informatik>
Mittelwert
Programmbibliothek
Optimierung
Compiler
Programmierumgebung
Bildauflösung
Sichtenkonzept
Forcing
Prozess <Informatik>
Compiler
Computersicherheit
Formale Sprache
Flüssiger Zustand
Web-Designer
Elektronische Publikation
Binärcode
Physikalische Theorie
Computeranimation
Ebene
Lineares Funktional
Datentyp
Freeware
Web-Applikation
Klasse <Mathematik>
Systemaufruf
Kartesische Koordinaten
Computeranimation
Metropolitan area network
Datentyp
Deklarative Programmiersprache
Mereologie
Skript <Programm>
Reelle Zahl
W3C-Standard
Resultante
Metropolitan area network
Datenfeld
Datentyp
t-Test
Digitalfilter
Elektronische Publikation
Computeranimation
Data Encryption Standard
Punkt
t-Test
Digitalfilter
Computeranimation
W3C-Standard
Metropolitan area network
Theorem
Datentyp
Optimierung
Faserbündel
Streuungsdiagramm
Informationsmanagement
Data Encryption Standard
Metropolitan area network
Benutzerbeteiligung
Web-Applikation
Versionsverwaltung
Vorlesung/Konferenz
Programmierumgebung
Verzeichnisdienst
Computeranimation
Data Encryption Standard
Metropolitan area network
Versionsverwaltung
Kartesische Koordinaten
Dialekt
Computeranimation
Informationsmanagement
Eins
Lineares Funktional
Server
Gewichtete Summe
Division
Stochastische Abhängigkeit
Beschreibungssprache
Ausbreitungsfunktion
Versionsverwaltung
Varianz
Code
Computeranimation
Kugelkappe
Metropolitan area network
Client
Software
Mereologie
Ablöseblase
Server
Vorlesung/Konferenz
Umkehrung <Mathematik>
Zusammenhängender Graph
Compiler
Bildauflösung
Resultante
Lineares Funktional
Zahlenbereich
Interpretierer
Web-Seite
Quick-Sort
Code
Computeranimation
Objekt <Kategorie>
Metropolitan area network
Funktion <Mathematik>
Prozess <Informatik>
Code
Partikelsystem
Speicherverwaltung
Auswahlaxiom
Objekt <Kategorie>
Prozess <Informatik>
Festspeicher
Evolute
Speicherverwaltung
Trigonometrische Funktion
Code
Message-Passing
Computeranimation
Bildauflösung
Quader
Mathematisierung
Web-Applikation
Dreiecksfreier Graph
Vorlesung/Konferenz
Fortsetzung <Mathematik>
Element <Mathematik>
Biprodukt
Code
Mittelwert
Freeware
Computeranimation
Besprechung/Interview
Vorlesung/Konferenz
Computeranimation
Benutzerbeteiligung
Compiler
Besprechung/Interview
Server
Projektive Ebene
Computeranimation
Varietät <Mathematik>
Interpretierer
Web Site
Benutzerschnittstellenverwaltungssystem
Compiler
Mereologie
Besprechung/Interview
Elektronische Publikation
Code
Aggregatzustand
Lineares Funktional
Singularität <Mathematik>
Bildschirmmaske
Besprechung/Interview
Programmbibliothek
Einfache Genauigkeit
Bildauflösung

Metadaten

Formale Metadaten

Titel Moving away from NodeJS to a pure python solution for assets
Serientitel EuroPython 2016
Teil 65
Anzahl der Teile 169
Autor Molina, Alessandro
Lizenz CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
DOI 10.5446/21085
Herausgeber EuroPython
Erscheinungsjahr 2016
Sprache Englisch

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Alessandro Molina - Moving away from NodeJS to a pure python solution for assets When working with WebApplications it is common to rely on an asset management pipeline to compile scripts, minify css or preprocess images. Most of the tools available today rely on JavaScript to perform those steps and always forced Python developers to rely on NodeJS to have grunt perform the pipeline tasks, coffee-script to compile their CoffeeScript or lessc to build their css. This causes longer setup times for projects newcomers, complex development environment, working with two package managers and dependencies that you use once a week but still need to be there. The talk will showcase the DukPy project and focus on how it is possible to build a pure python asset pipeline relying on DukPy to run javascript tools and WebAssets framework to perform the most common tasks that usually Nodejs and tools like Grunt handle for us, greatly reducing the development environment complexity and making its setup as simple as ‘pip install’. The talk aims at explaining the complexity of managing an asset transformation pipeline through tools like Grunt, especially during deploy, test suites or when a new development environment has to be created, and showcase how this complexity can be dodged by using tools like WebAssets and DukPy. No more need to keep around two languages, two package management systems and manage your dependencies between them by youself. Just pip install your app and have it working.

Ähnliche Filme

Loading...