Re: Help getting DWT for D2 using phobos
On Saturday, 29 November 2014 at 05:56:20 UTC, Dammy wrote: Hi guys, i've been trying to download the DWT library for some time now and i just couldnt get it cos the zip i'm downloading from github doesnt contain any library source. Until recently when i went to dsource.org and i was really happy to have found the full DWT package on to download it and find out it uses the tango library. Please help guys! How do i get the dwt for phobos library for D2. Please help! I'm using Dmd32 version2.066.0 on a windows vista. Your help will be greatly appreciated.. Thanks in advance Get the source from here: https://github.com/d-widget-toolkit/dwt Read the readme on that page and follow the instructions. The source is contained in sub modules so you need checkout with git (recursively) *not* download the zip.
Re: crate.d a draft for a mvc library
On Thursday, 27 November 2014 at 19:16:24 UTC, gedaiu wrote: Hi, In the last weeks I tried to make a draft for a mvc library. I tried to take advantage of templates, uda and ctfe to make the interaction with the database and the routing easier. There is still a lot of work to do for making it ready to work in production... but anyway.. what do you think? https://github.com/gedaiu/crate.d Thanks, Bogdan Hi, I noticed you had your own templating library to parse the .dh files, so I thought I'd mention my project Temple which does something similar: https://github.com/dymk/temple It's perhaps a bit more feature complete, and can handle stuff like capturing blocks of code, render to arbitrary output ranges, etc. That being said, your solution is very nice; it's amazing what you can do in so few lines of code in D :) MongoModel in the model part of crate.d is interesting, and I'm glad to see there's a more structured way of interacting with MongoDB than just poking at untyped objects. I think D is still missing a really good ORM (Rikki's dvorm is a start), but there's nothing out there that conforms to the activerecord pattern as far as I can tell.
Re: Separate compilation of Temple templates
Im playing with vibed + temple, it's a very good work. I prefer html over jade for my views. Thank you.
d-apt source changed!
d-apt http://d-apt.sourceforge.net/ changed the distribution name from dmd to d-apt. Download the last d-apt.list to update: $ sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list The new distribution allows to install any deb package version available at d-apt. i.e. dmd-bin deb package is available for versions 2.064.2, 2.065.0 and 2.066.1 To install an old dmd version: $ sudo apt-get install dmd-bin=2.064.2-0 libphobos2-dev=2.064.2-0 Legacy distribution will be disabled on dmd v2.067.0 release.
Re: crate.d a draft for a mvc library
On 30/11/2014 1:20 p.m., Dylan Knutson wrote: MongoModel in the model part of crate.d is interesting, and I'm glad to see there's a more structured way of interacting with MongoDB than just poking at untyped objects. I think D is still missing a really good ORM (Rikki's dvorm is a start), but there's nothing out there that conforms to the activerecord pattern as far as I can tell. There is hibernated around, but something about it always made me go yeah no. But so does actual hibernate so meh. Dvorm was meant as a very simple interface completely abstracted out from the database engine itself :) It does this very well, even can send/receive emails! I would like to eventually build another library that is backwards compatible with Dvorm but with a lot more features. And far less database engine abstracted away. Mostly so things like Cmsed don't need a full rewrite. But alas, I'm trying to improve the situation for gui's atm.