Meeting 11: Unterschied zwischen den Versionen

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche
(rGDMMtDCGUSixczY)
K (Schützte „Meeting 11“: Wiederkehrender Vandalismus (‎[edit=autoconfirmed] (unbeschränkt) ‎[move=autoconfirmed] (unbeschränkt)))
 
(20 dazwischenliegende Versionen von 18 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
Cedric, probably most of your cnsufoion stems from the fact that the vast majority of documentation and tutorials on IoC that are available on the web use awful examples that do nothing to illustrate IoC's advantages. The referenced tutorial from your blog entry is an excellent case in point  it's a rather poor example of IoC.I myself use a home-grown IoC container at work, which is used mostly to auto-wire services together. In that vein IoC is merely convenient, not revolutionary or anything.  In a nutshell, you don't want to care where services come from or how they get instantiated, or even whether they're singletons or not.  On some level of course you do have to know this  but you _don't_ want to know this inside your dependent class. You also don't want to have to know which factory to use. In fact, when you're using IoC for the most part when you're developing you don't know and don't care where a given component comes from.So on one level it's like the difference between push and pull. You can write code to  pull  service references, by having them instantiate those objects, use a factory to get them, or use a lookup mechanism to find them. Or you can use an IoC container and have those self-same references pushed to you when you need them.You don't really feel the IoC difference looking at small examples, because they're too small to matter either way. Where you feel it is in larger software projects. The vast majority of times you're writing new code or maintaining old code, and you'll need to get a reference to  some service . And, most of the time, when using an IoC container this means you have to do nothing more than add it to your constructor or add a setter for it  and you're done. The rest happens automatically via auto-wiring.This is true at least for the simple cases where you're referring to a class which is a singleton (and the only implementation of that type). In more complex cases you may have to do slightly more  such as adding in an ID in an XML config or some Java code to distinguish which service you want. But even in those cases the fundamental point remains  you indicate declaratively what you want, and the correct instance gets pushed to you. Ultimately, that's what IoC is all about.
+
'''When''': Monday, February 23rd, 2009 - 19:00 (end approx. 21:00)
 +
 
 +
'''Where''': [http://www.wegweiser.ac.at/tuwien/hoersaal/F4.html Freihaus HS4]
 +
 
 +
 
 +
''TeX ... sooner or later you will have to know it ;)''
 +
 
 +
Download the [[Media:JSUG-11th-Main.pdf|introduction slides]] (pdf, 53KB).
 +
 
 +
 
 +
__TOC__
 +
 
 +
=TeX Day=
 +
 
 +
Special event dealing with TeX basics because of the DANTE conference which will be in the same week (Wednesday 25th to Friday 27th February) at the Vienna University of Technology (EI10).
 +
 
 +
 
 +
'''Lottery'''
 +
 
 +
There will be a "gewinnspiel" at the end of the evening where you can '''win''' a special LaTeX related thingy -but only if you have carefully payed attention to the presentations :)
 +
 
 +
The price was: Two examples of the very nice book "LaTeX - Einführung in das Textsatzsystem" (http://www.rrzn.uni-hannover.de/buch.html?&titel=latex).
 +
 
 +
''Many thanks to the [[Bild:Zid logo.png]] ([http://www.zid.tuwien.ac.at/ Zentraler Informatik Dienst]) for this sponsoring.''
 +
 
 +
=Presentations=
 +
 
 +
==TeX, LaTeX und der ganze Rest==
 +
 
 +
Download the [[Media:JSUG-Tex Latex und der Rest-Norbert Preining.pdf|slides]] (pdf, 1.9MB).
 +
 
 +
Overview, History and TeXLive crashcourse by [http://www.logic.at/staff/preining/ Norbert Preining] (lecturer at the Vienna University Of Technology).
 +
 
 +
 
 +
==LaTeX Quickintro==
 +
 
 +
Download the [[Media:JSUG-TexDay Introduction-Christoph Pickl.pdf|slides]] (pdf, 1.2MB).
 +
 
 +
A short introduction for non-LaTeXperts by [[Benutzer:Christoph.pickl|Christoph Pickl]].
 +
 
 +
 
 +
===What's happening in the background?===
 +
 
 +
Second part of Norbert's presentation: Overview of the process of generating a dvi/pdf with all other filetypes involved.
 +
 
 +
 
 +
==Layouting with the memoir class==
 +
 
 +
Download the [[Media:JSUG-Slides Memoir-Martin Schuerrer.pdf|slides]] (pdf, 133KB).
 +
 
 +
 
 +
How to transform a [http://schuerrer.org/article_original.pdf plain LaTeX document] into a [http://schuerrer.org/article.pdf nice memoir enhanced document] by [[Benutzer:MSch|Martin Schürrer]].
 +
 
 +
Lookup the TeX sources at: [http://github.com/MSch/memoir-article-demo/tree/master http://github.com/MSch/memoir-article-demo]
 +
 
 +
 
 +
==Producing HTML and Slides with LaTeX==
 +
 
 +
Download the [[Media:JSUG-TexDay-Christoph Pickl.pdf|slides]] (pdf, 477KB).<br />
 +
Download the [[Media:JSUG-TexDay Beamer Sources-Christoph Pickl.zip|beamer TeX sources]] (zip, 306KB).
 +
 
 +
Second part of Christoph's presentation: HTML-output with <code>htlatex</code> and producing slides with the <code>beamer</code> class.
 +
 
 +
 
 +
= Links =
 +
 
 +
* http://cms.dante.de/dante2009 ... DANTE TeX days
 +
* http://tobi.oetiker.ch/lshort/lshort.pdf ... The Not So Short Introduction to LaTeX2e
 +
* http://web.student.tuwien.ac.at/~e0525580/rsrc/Christoph_Pickl-Latex_Schnelleinstieg.pdf ... The maybe too short introduction to LaTeX
 +
* http://www.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf ... Memoir Class manual
 +
* http://www.dante.de/faq/de-tex-faq/html/de-tex-faq.html ... FAQ about TeX and DANTE
 +
* http://www.haptonstahl.org/latex/index.php ... Crash Course in LaTeX
 +
* http://www.tuwien.ac.at/dienstleister/pr_und_kommunikation/publishing_web_print/corporate_design/schriftart/latex/ ... TU Wien LaTeX Fonts
 +
 
 +
[[Category:Meeting]]

Aktuelle Version vom 18. März 2013, 07:51 Uhr

When: Monday, February 23rd, 2009 - 19:00 (end approx. 21:00)

Where: Freihaus HS4


TeX ... sooner or later you will have to know it ;)

Download the introduction slides (pdf, 53KB).


TeX Day

Special event dealing with TeX basics because of the DANTE conference which will be in the same week (Wednesday 25th to Friday 27th February) at the Vienna University of Technology (EI10).


Lottery

There will be a "gewinnspiel" at the end of the evening where you can win a special LaTeX related thingy -but only if you have carefully payed attention to the presentations :)

The price was: Two examples of the very nice book "LaTeX - Einführung in das Textsatzsystem" (http://www.rrzn.uni-hannover.de/buch.html?&titel=latex).

Many thanks to the Zid logo.png (Zentraler Informatik Dienst) for this sponsoring.

Presentations

TeX, LaTeX und der ganze Rest

Download the slides (pdf, 1.9MB).

Overview, History and TeXLive crashcourse by Norbert Preining (lecturer at the Vienna University Of Technology).


LaTeX Quickintro

Download the slides (pdf, 1.2MB).

A short introduction for non-LaTeXperts by Christoph Pickl.


What's happening in the background?

Second part of Norbert's presentation: Overview of the process of generating a dvi/pdf with all other filetypes involved.


Layouting with the memoir class

Download the slides (pdf, 133KB).


How to transform a plain LaTeX document into a nice memoir enhanced document by Martin Schürrer.

Lookup the TeX sources at: http://github.com/MSch/memoir-article-demo


Producing HTML and Slides with LaTeX

Download the slides (pdf, 477KB).
Download the beamer TeX sources (zip, 306KB).

Second part of Christoph's presentation: HTML-output with htlatex and producing slides with the beamer class.


Links