Bilqi Forum  

Geri git   Bilqi Forum > >

Kitap & Yazar Tanıtım & Eleştiri Yeni/Eski Kitaplar, Yazarlar, Sairler Ile Ilgili Aradiginiz Hersey Burada.

ÖDEVLERİNİZİ BULMAKTA ZORLANIYOMUSUNUZ!

SORUN ANINDA CEVAPLIYALIM.

TÜM SORULARINIZA ANINDA CEVAP VERİLECEKTİR !

Sitemize Üye Olmadan Konulara Cevap Yazabilir Ayrıca Soru Cevap Bölümüne Konu Açabilirsiniz !

Yeni Konu aç Cevapla
 
Seçenekler Stil
Alt 05-29-2011, 19:30   #1
hunterpro44
 
Üyelik tarihi: Mar 2011
Mesajlar: 50
Tecrübe Puanı: 258
hunterpro44 has much to be proud ofhunterpro44 has much to be proud ofhunterpro44 has much to be proud ofhunterpro44 has much to be proud ofhunterpro44 has much to be proud ofhunterpro44 has much to be proud ofhunterpro44 has much to be proud ofhunterpro44 has much to be proud of
Standart Pragmatic Programmers - The Ruby Object Model and Metaprogramming screencast

Pragmatic Programmers - The Ruby Object Model and Metaprogramming screencast

Alıntı:

Pragmatic Programmers - The Ruby Object Model and Metaprogramming screencast
Alıntı:
English | MOV | Audio: aac 44100Hz 64 b/s | Video: qtrle 207kb/s 3000.00 fps(r) | 550Mb
Genre: eLearning
Episode 1: Objects and Classes (29 minutes)
Just what is a Ruby object, and how can Ruby move you away from class-oriented development and back to object-oriented development? Learn about:

the internals of objects,
how classes really arent anything special,
what self does, and the two ways it can get changed
the method call mantra: one to the right, then up,
singleton methods and ghost classes,
why class methods dont exist,
how classes get their names,
how the concept of the current class interacts with def

Episode 2: Sharing Behavior (39 minutes)
One of the primary goals of good design is to put the right behavior in the right place without duplication. Well see three ways Ruby excels at this:

Using prototype-based programming, where you can create hierarchies of objects with controlled sharing of both state and behavior, and without a class definition in sight.
using inheritance (but you can only watch this section after youve watched the included Public Safety announcement on why inheritance is normally a bad idea). Well also look at what happens when you do class << object (and why its nothing whatsoever to do with inheritance).
using modules and mixins, the sweet spot of Ruby programming. How to using include and extend, and how to create modules that mix in both instance and class methods.

Episodes 1 and 2 are the foundation for the rest of the screencast.
Episode 3: Dynamic Code (31 minutes)
Metaprogramming is sometimes defined as writing code that writes code. Here well see just how to do that in Ruby.

Blocks and the two kinds of block-objects
How bindings capture execution context
How blocks can act as closures, and why thats vital to metaprogramming
Writing methods that define other methods using nested defs
Using define_method
Writing your own accessor methods

Episode 4: instance_eval and class_eval (29 minutes)
Two of the workhorse methods of metaprogramming are instance_eval and class_eval. They allow you to execute chunks of code dynamically. Here well see how to use them.

How instance_eval and class_eval differ
When to use one versus the other
Breaking down barriers
Creating methods on the fly, but without using closures
Defining stuff in classes given a class object
Writing DSLs in a block structure

Episode 5: Nine Examples of Metaprogramming (36 minutes)
Heres where all the theory and practice comes together! Well take a simple problem and find nine different ways of attacking it using metaprogramming techniques.

Adding behavior directly inside the class
Using subclassing to add behavi Subclassing with a generator using Class.new
Using a ghost class
Ghost class with a generator using class_eval
Rewrite the method with alias_method
Rewrite using a module
Rewrite using bind
Writing a DSL in a block

Episode 6: Some Hook Methods (35 minutes)
Ruby hook methods are a way for your application to hook itself into the execution of the Ruby interpreter. Using hook methods is crucial for some kinds of metaprogramming, and they can make your code more flexible. In this episode, well see how to use two powerful hook methods: inherited and const_missing.

Overriding hook methods to intercept and deal with certain Ruby interpreter events during the lifetime of your application
Decoupling code using inherited to keep track of subclasses
Implementing enumerated types with const_missing
Using const_missing to autoload classes based on the names of files
Applying const_missing in both global and localized situations
How to chain an overridden hook method to its original hook method
Using const_set to define constants
Two practical uses for hook methods

Episode 7: More Hook Methods (53 minutes)
Well pick up where we left off in the last episode by looking at two more Ruby hook methods: included and method_added. But well also take it a step further. Well use these hook methods to develop a metaprogramming library that traces the execution of a Ruby program. Along the way well see all the various subtle (and important!) things you need to think about when youre trying to write a general-purpose metaprogramming library.

Using included to intercept when a module is included in a class, and use it to set up another hook method in a different context
Using method_added to track when a new method is defined on a class, and trace the methods execution
Refactoring the tracing to support blocks
Using method objects to bypass naming issues
Adding tracing to methods that have already been added
Suppressing tracing for certain methods
Using Thread.current to define thread-local variables
Differences between Ruby 1.8 and 1.9
Practical examples (and corner cases) of metaprogramming
[/b]
[/b]
[/b]
All Links Are Interchangeable, It Means You Can Download 1, 1, 1 . Thank you !
Download
Kod:
http://www.fileserve.com/file/DDhApzZ/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part1.rar
http://www.fileserve.com/file/zrpMzm5/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part2.rar
http://www.fileserve.com/file/4Ga3p6h/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part3.rar
http://www.fileserve.com/file/a28jhHb/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part4.rar
http://www.fileserve.com/file/DdPwfx4/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part5.rar
http://www.fileserve.com/file/tPu3Qzq/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part6.rar
Kod:
http://www.uploadstation.com/file/QqDpXs9/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part1.rar
http://www.uploadstation.com/file/RadYXJT/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part2.rar
http://www.uploadstation.com/file/YQJtGDW/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part3.rar
http://www.uploadstation.com/file/tUegjG3/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part4.rar
http://www.uploadstation.com/file/HhdX4gp/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part5.rar
http://www.uploadstation.com/file/CZmV4w2/Pragmatic.Screencasts.Ruby.Object.Model.and.Metaprogramming.part6.rar
[/center]
hunterpro44 isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Cevapla

Bookmarks


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
Sizin Yeni Konu Acma Yetkiniz var yok
Sizin Konu Yanıtlama Yetkiniz var
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı

Gitmek istediğiniz klasörü seçiniz

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
SAP Business Object XI 3.1 Integrated Service Pack 3.0 Multilingual - SHOCKiSO girlsoft1st Full Programlar Arşivi 0 01-05-2011 17:28
SAP Business Object XI 3.1 Integrated SP3 girlsoft1st Grafik & Resim 0 12-30-2010 23:28
Programmers Notepad 2 0.6.1 Yaso Araçlar 0 06-25-2008 15:52
Programmers File Editor 1.01 Yaso Araçlar 0 06-24-2008 21:22
TPS Au for FTA model Yaso Dijital Uydu Cihazları 0 03-06-2008 23:31


Şu Anki Saat: 17:26


İçerik sağlayıcı paylaşım sitelerinden biri olan Bilqi.com Forum Adresimizde T.C.K 20.ci Madde ve 5651 Sayılı Kanun'un 4.cü maddesinin (2).ci fıkrasına göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. bilqi.com hakkında yapılacak tüm hukuksal Şikayetler doganinternet@hotmail.com ve streetken27@gmail.com dan iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde bilqi.com yönetimi olarak tarafımızdan gereken işlemler yapılacak ve size dönüş yapacaktır.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.

Android Rom

Android Oyunlar

Android samsung htc

Samsung Htc

Nokia Windows