Jump to page: 1 2
Thread overview
"Programming in D" book, draft of the first print edition and eBook formats
Nov 26, 2014
Ali Çehreli
Nov 26, 2014
Ondra
Nov 26, 2014
Gary Willoughby
Nov 26, 2014
Anonymous
Nov 26, 2014
Ali Çehreli
Nov 26, 2014
Ali Çehreli
Nov 27, 2014
Joakim
Nov 27, 2014
Ali Çehreli
Nov 26, 2014
Martin Drašar
Nov 26, 2014
Dejan Lekic
Nov 26, 2014
Dejan Lekic
Nov 26, 2014
Ali Çehreli
Nov 26, 2014
Ali Çehreli
Nov 27, 2014
Dejan Lekic
Nov 26, 2014
weaselcat
Nov 26, 2014
Meta
Nov 28, 2014
Piotrek
Nov 28, 2014
Nick
Dec 01, 2014
John
November 26, 2014
Main page:

  http://ddili.org/ders/d.en/


1) For the first time, there are eBook formats:

  http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub

  http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi

I used 'calibre' to generate those "alpha" quality books. I chose epub and mobi just because I thought that they are the most common formats. Just let me know if you need another format or simply use 'calibre' or another tool yourself. :)


2) There has been a lot of work to make the book ready for its first print edition. (I will spare you the details of countless hours of extra work that went into this "eternal final step".)

The PDF version finally looks a lot like a real book:

* There is a Table of Contents section

* There is an Index section

* The internal links work


3) There are two new chapters:

* Lvalues and Rvalues

* Nested Functions, Structs, and Classes


4) There are the following notable additions to existing chapters:

* 'pragma' is added to the Templates chapter

* Special keywords are added to the Templates chapter (__FILE__, __LINE__, etc.)

* Contract inheritance is added to the 'Contract Programming for Structs and Classes' chapter

* The .offsetof property and the 'align' atribute are added to the 'Memory Management' chapter


5) I am grateful to Andrej Mitrović, Steven Schveighoffer, and Luís Marques, who accepted to edit the book. However, they are through only less than 10% of the book so far. As always, current or future mistakes are mine. :)

Ali
November 26, 2014
Awesome!
November 26, 2014
Fantastic work.
November 26, 2014
Thx, your book's just helped me last night (opSlice template not well explained in the official html). Two questions:
- do you know that your website has serious design issue ?
- does "paper version" mean "no more free" pdf/ebook ?
November 26, 2014
This is HUGE!

I've gone through many of your chapters, but it was just now, after seeing it as a one >700 pages long book, that I truly realized how much of a work this must have been.

Thank you. Can't wait to have it on the shelf...

Martin



November 26, 2014
On Wednesday, 26 November 2014 at 10:34:24 UTC, Ali Çehreli wrote:
> Main page:
>
>   http://ddili.org/ders/d.en/
>
>
> 1) For the first time, there are eBook formats:
>
>   http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
>
>   http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi
>
> I used 'calibre' to generate those "alpha" quality books. I chose epub and mobi just because I thought that they are the most common formats. Just let me know if you need another format or simply use 'calibre' or another tool yourself. :)
>
>
> 2) There has been a lot of work to make the book ready for its first print edition. (I will spare you the details of countless hours of extra work that went into this "eternal final step".)
>
> The PDF version finally looks a lot like a real book:
>
> * There is a Table of Contents section
>
> * There is an Index section
>
> * The internal links work
>
>
> 3) There are two new chapters:
>
> * Lvalues and Rvalues
>
> * Nested Functions, Structs, and Classes
>
>
> 4) There are the following notable additions to existing chapters:
>
> * 'pragma' is added to the Templates chapter
>
> * Special keywords are added to the Templates chapter (__FILE__, __LINE__, etc.)
>
> * Contract inheritance is added to the 'Contract Programming for Structs and Classes' chapter
>
> * The .offsetof property and the 'align' atribute are added to the 'Memory Management' chapter
>
>
> 5) I am grateful to Andrej Mitrović, Steven Schveighoffer, and Luís Marques, who accepted to edit the book. However, they are through only less than 10% of the book so far. As always, current or future mistakes are mine. :)
>
> Ali

Well done, Ali - I will buy the ePub once the book is done.

One suggestion: if you can, do what Ivan Ristic does with his SSL/TLS books (https://www.feistyduck.com). Basically, people who buy his books have unlimited access to book updates. Ivan is sending information about book updates whenever there is something new, so we readers can go back to the website and grab the latest version of the book.

I think this is a much better approach than book editions, as they may appear years after each other... Sure, it is more complicated, but I think it pays off, and I do not mind book being little bit more expensive if I can access updated version of it.

Cheers!
November 26, 2014
One more thing - if you have the book in some "wiki form", it may be a good idea to transform it into AsciiDoc as it has really nice ePub/PDF/HTML output.
November 26, 2014
On 11/26/14 2:34 AM, Ali Çehreli wrote:
> Main page:
>
>    http://ddili.org/ders/d.en/
>
>
> 1) For the first time, there are eBook formats:
>
>    http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
>
>    http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi

Fantastic! I wanted to mention this on reddit but noticed that (a) http://ddili.org/ders/d.en/ has the left menu in Turkish, and (b) there are no links to the ebooks from that page.

Could you please fix that?


Thanks,

Andrei

November 26, 2014
On 11/26/2014 03:42 AM, Anonymous wrote:

> - do you know that your website has serious design issue ?

Of course. :(

> - does "paper version" mean "no more free" pdf/ebook ?

My current thinking is that all of the ebook formats should be free but also purchasable.

A distributor like Smashwords would reach more readers. However, a person who is interested in D would find the book on my site anyway. (I wonder whether Smashwords would allow me to also provide the book for free on my site?)

For the print version, I am thinking about Amazon's CreateSpace mainly because unlike Lulu and many other self-publishing houses they accept more than 440 pages.

Ali

November 26, 2014
On 11/26/2014 06:27 AM, Dejan Lekic wrote:

> whenever there is something new, so we readers can go back to the website
> and grab the latest version of the book.

That has always been the case with Programming in D. Although there has been a hiatus of about two months this last time, Luís Marques' edits from this morning have already made it to the site as we speak. ;)

> I think this is a much better approach than book editions, as they may
> appear years after each other... Sure, it is more complicated, but I
> think it pays off

It is not complicated at all. I type 'make', copy the generated .zip file to the hosting site, unzip, and the edits are live! :) (Although, the .epub and .mobi formats are not integrated to the Makefile yet.)

On 11/26/2014 08:55 AM, Dejan Lekic wrote:

> One more thing - if you have the book in some "wiki form", it may be a
> good idea to transform it into AsciiDoc as it has really nice
> ePub/PDF/HTML output.

For historical reasons I started with Ddoc. I can investigate converting it to AsciiDoc but honestly I am not motivated much to do that. :)

Currently, Ddoc is first converted to HTML and I use the HTML to generate different final formats.

Ali

« First   ‹ Prev
1 2