I’ve been taking a bit of a holiday away from the web-scene recently. It isn’t something I regret though. I’ve done things that have given me new perspectives and insights into the world. I am still “away”, and if truth be told, I cannot envisage myself wanting a regular job ever again, although I imagine in some unfortunate way that I will be driven to such lengths by financial limitations.
Anyway, as should be well known by anyone who frequents this blog, I am currently volunteering in Thailand. Specifically, I am working with Isara, an awesome non-profit foundation based in Nong Khai.
Let me try and shatter what you think you know about Thailand and put across what I know thus far in a paragraph. There are no blanket statements I can make such as “the food is delicious” or “the people are kind, generous and beautiful” because such things would only be as true as if said of any other country in the world.
Isaan is Thailand’s poorest province — this is where Nong Khai is situated. The average farmer makes around 140 Baht each day, which is about £3 ($5), and considering everything, people from this area seem contented with their lives. Farangs (foreigners, specifically white ones) are almost revered for just being white. The locals find novelty in our white skin, our coloured hair and eyes, our height and our language. Children here are demotivated by the government education system which seems to attract dispassionate teachers because of it being one of few jobs with social security benefits. The children, albeit demotivated, are enthusiastic when inspired and willing to learn when shown what they can become. There are struggles. Uneducated people pollute and abuse the environment and each other. Health, safety and true education come second to saving face and appearing calm and subdued. The people here cover every spec of the spectrum — there are all kinds. There are many farang here too… some older folk, some younger. Some looking for their Thai brides, some travelling, and some staying to help. Life here is cheap for a westerner. Life here is hard for a local. Learning English is a way out, an opportunity to become something more, an opportunity to take the world by the horns and do what you will!
I’m currently working on developing a computer-based system for Isara’s learning center, where local people are invited to learn English for free three times a week. Currently all student records are kept in a paper-based system — this includes details about their progress in class. Moving it to a computer-based system will waste less paper, provide a centralised store of student details and progress, enable querying of the data to determine which students are behind and what topics have been taught, and it will provide a wealth of query-able, filter-able, process-able data that could save many man-hours of paper-fiddling and printing!
It’s still a plan in progress, but the DB schema looks like this thus far (all ‘_log’ tables are for auditing). I am going to be using CodeIgniter, just because I remember how ridiculously simple it made a previous project. If you haven’t, you should try it out!
It insists upon separating your concerns into the traditional M-V-C pattern (Model, View, Controller) and has a bunch of auto-load-able helper classes and libraries. It’s very widely used, so finding help online is rarely a problem (Google is your friend).
Got any tips or stories to share about CI? Please share.
Thanks for reading! Please share your thoughts with me on Twitter. Have a great day!
CI is the best fw I know for php, it’s very easy to install, use and dev. If u want I developed a form class to genarate all the fields for the db crud. I have a top, content, footer separation too for easy maintenance & dev. At all, CI is so easy to use.
Wow, I think they’re lucky to have you.
Always happy to read some of your new adventures! : ) If you liked CodeIgniter, try Kohana. It’s like CI, but better. http://kohanaframework.org/
You may even give a look at Yii: http://www.yiiframework.com/
Here you can find a nice comparison between these three: http://www.beyondcoding.com/2009/03/02/choosing-a-php-framework-round-2-yii-vs-kohana-vs-codeigniter/
If I were you, I’ll probably use Symfony with Doctrine as ORM, but if you haven’t used it before it may be a little overkill…
But.. why don’t you try a combination like node.js + Express + MongoDB? Server-side javascript may suite better your skills… Here you can find a nice tutorial if you’re interested: http://dailyjs.com/2010/11/01/node-tutorial/
Cheers and happy new year.
Hey James,
Followed Ur Blog for 2 years already and in the beginning because Web dev stuff. But thats not Why i kept following. Its because of your Personal style that tells more about how u develop and what expiriences u make in terms of this Industry, but also in terms of life in gerneral. I like what u do in Taiwan. Keep that interest up!
Ok topic now: i am interested in to how make up such a db concept. How do u process it exactly, whats the u tackle such a task and what tools do u use?
You’ve written a lot of best in class things related to JavaScript. Have you considered putting https://j11y.io/jquery/ up on GitHub? I can’t be the only one that missed it while your site was down. If not, do you mind me making a copy and putting it at http://drewwells.net/jquery/ ? It’s a very useful tool.
For students’ e-learning, you may like Moodle. A free open source PHP/MySQL tools and many schools are using it. It does not have Admin tools, but teachers can share their power points and other resources with their students.
great stuff, congratulations, that place sounds like my country. Im glad there are people like you around the world, if u need any help i can help for free. 😉 and it would be great for my country too.
While not a (serious) developer myself, my biz partner was a big fan of C.I. (and used it for 8 – 12months in a busy web dev shop – on 8+ projects) only to switch to Cake and never look back. He could have an application with full crud functionallity ready to demo to a client in 8-12 hours. After the switch, I heard nothing but good things about Cake. We also brought in an experienced deveopler to help him and the new dev loved it (he had prior experience with Kohana and a few other frameworks). I think it’s worth a shot.
James, first of all let me say that the work you are doing is inspiring, and as a fellow CI dev it makes me very happy to see my framework of choice be used for a good cause.
It’s funny how immediately after announcing you will be using a framework, everyone jumps to recommend you try a different one. Frameworks are tools, and you should always use the one that you best suits you, not the other way around. Although I haven’t used it yet, there’s a new fork of CI called CI Reactor, which is a community-driven version of the framework. You can read about it here http://codeigniter.com/news/codeigniter_in_2011_reactor_core_uservoice/
Unlike other forks it has the backing of Ellis Lab and will stay true to the CI we all know and love.
Gosh..I’m doing something similar for my college 🙂
Maybe you could help me in someway
Hey,
What you’re doing over here sounds wonderful. I’m in Prechuap Khiri Khan, a bit south of Bangkok. I’m happy to hear you’ve been able to put your web dev skills to work. I’m trying to find a similar opportunity. Nothing would be better than halting my travels for a month to help a community build a helpful app. Stopping what I love to do what I love.
Best of luck with the rest of your sejour. Before you leave, you should REALLY consider coming down to Prechuap. It’s beyond beautiful with only a limited amount of Falangs (southen thai accent).
Although I haven’t used it yet, there’s a new fork of CI called CI Reactor, which is a community-driven version of the framework