quanganhdo's archive

I'm Anh Quang Do (aka QAD). This tumblelog is where I talk about what I deeply care about and link to interesting articles on the interweb. If you want to reuse any of my content, feel free to do so. Just remember to put a link back to my original post.

Posts tagged with “jtale”

Django in 3 days

This post was composed in WriteRoom for iPhone a couple of days ago. Expect a review soon.

I've heard many good things about Django, and now have a chance to really look at it. For those wondering what it is, Django, pronounced as JANG-oh, is a mature web framework written in Python. Dubbed "the web framework for perfectionists with deadline", Django indeed brings many nice things to the table.

If Ruby on Rails is much about convention over configuration, Django is quite the opposite. Everything is laid out explicitly in Django, and you won't find much "magic" behind the scene.

One of Django's best selling points is its ability to quickly give you a customizable admin interface, and I totally love this feature. Spending a few minutes defining the models, a few more tweaking the model admins, and volla, I've got a nice CRUD interface to work with my (test) data. For a backend accessed only by trusted people, it saved me so much time.

Django comes with comprehensive documentation. I've never written a line of Python code in the past, but was able to find almost everything I need to get started. The free Django book from Apress is a nice touch, too.

That said, I knew nothing about Python, so my first hand experience with Django the framework was also to learn this language at the same time. Again, I was quickly able to find a good book on this topic: Diving into Python. It was truthly a pleasure to read, as the author uses the "learn by examples" style to deliver his knowledge. Every chapter begins with a scary example that makes me confused, then gradually explains all the concepts and relevant stuff. By the time I finished the first five chapters, I was able to start getting through the Django tutorials.

On the flip side, getting Django up and running on my MacBook was a tedious task, particularly the steps to make it interact nicely with MySQL. It took me a full day of reinstalling things and moving them around to make it finally work. Googling didn't ease that pain much.

Another annoying issue that occurred to me was that Python didn't get on well with TextMate, my text editor of choice. Python relies much on indentation, and its lack of explicit closing block made TextMate confused all the time. More often than not, I had to use a specific bundle to reformat my code to make it work. It really sucked.

My current strategy to learn both Python and Django is through doing. I'm rewriting jtale in Django and have made some progress so far. Hopefully it'll be up and running soon (haven't figured out how to deploy it though).

Enough for now.

jtale.com chính thức ra mắt

1. Như vậy là phải đến hôm qua, bọn tớ mới quyết định cho jtale.com chính thức ra mắt. Cơ sở dữ liệu thử nghiệm được xóa toàn bộ. Các chương truyện dịch bắt đầu được đưa lên. Một số thành viên mới được bổ sung vào "ban quản lý". Mật khẩu truy cập được gỡ bỏ khỏi trang chủ. Vân vân và vân vân.

Dự định ra mắt đúng mùng 1.9 của tớ không thành, vì cuối tháng 8 vừa rồi không rảnh rỗi cho lắm - suốt 2 tuần liền tớ không viết được thêm một dòng mã nào. Bị chê là "thiếu chuyên nghiệp", nhưng dù sao thì mùng 3 vẫn là đầu tháng 9 (cười).

Read More »

jtale.com - thêm một vài screenshot

Khi triển khai dự án jtale.com, ban đầu tớ và lek dự định đưa ra phiên bản private beta trong tuần này. Vào thời điểm đó, phía front end của jtale đã tạm thành hình - nghĩa là người đọc có thể xem thông tin và đọc truyện một cách thoải mái; ai muốn đóng góp có thể tự upload thêm truyện lên. Tuy nhiên, phía back end vẫn chưa có gì, và quá trình quản lý chủ yếu được thực hiện qua... phpMyAdmin.

Chạy ở localhost là một chuyện, đem lên site lại là cả một vấn đề khác. Rất nhiều lỗi đã nảy sinh, do đó bọn tớ quyết định đình phiên bản beta này lại, để đến khi tạm ổn thì public sau. Muộn nhất có lẽ là đầu tháng 9 jtale sẽ ra mắt.

Để tránh bị gọi là vaporware như game Duke Nukem Forever (khoe hàng từ 1997 nhưng đến... 2008 vẫn chưa thấy đâu), hôm nay tớ tiếp tục đưa ra thêm một số screenshot khác của jtale. Lần này sẽ là screenshot của admin panel:

'Moderation Queue' của jtale - admin phải là người đầu tiên được đọc truyện!

Read More »

Nhật ký jtale

jtale.com là một trang web mà tớ đang xây dựng dở cùng với một người bạn. Về cơ bản, đây sẽ là một trang web (nữa) cho phép bạn đọc truyện tranh trực tuyến. Hiện jtale.com vẫn chưa đi vào hoạt động, nhưng tớ cũng xin bật mí trước vài screenshot nóng hổi vừa thổi vừa (chờ) ăn:

Trang chủ, với danh sách các chương truyện mới được upload lên, các chương truyện được quan tâm nhất và các nhóm dịch có nhiều đóng góp nhất.

Read More »