Moved to another host
Monday, June 30th, 2008 | Author: Timur Asaliev
I’ve just moved to a new host. Things seem to run fine!
Category: Blogging | Leave a Comment
Monday, June 30th, 2008 | Author: Timur Asaliev
I’ve just moved to a new host. Things seem to run fine!
Category: Blogging | Leave a Comment
Friday, June 20th, 2008 | Author: Timur Asaliev
My first framework after developing with PHP for 4-5 years was CodeIgniter, which I’ve been using for a while and have already dugg into it’s core to go on and make a lite version for personal use. For the past year or two I’ve been hearing a lot about CakePHP framework and have finally found some time to play around with it.
After spending 3 hours last night with the Cake’s online manual (although skipping basic stuff) and reading through the blog tutorial, I have to say I was impressed with CakePHP. Although the convensions could be somewhat difficult for new comers to remember, I have to agree that they are very useful and increase the development speed.
I have also enjoyed their support for third party classes (with javascript includes too!), very well commented API and plugin support:
CakePHP allows you to set up a combination of controllers, models, and views and release them as a packaged application plugin that others can use in their CakePHP applications.
Cookbook
CakePHP is a very good framework and I will start playing around with CakePHP next week to try and code a small forum and a blog for CodeVision.
Category: Projects, php | Leave a Comment
Wednesday, June 04th, 2008 | Author: Timur Asaliev
Believe it or not I was installing mysql on a FreeBSD 7 box for most of the day. After looking at the make options my attention was grabbed by the WITH_LINUXTHREADS parameter. After a bit of googling it seemed the I did not need linuxthreads on FreeBSD7-STABLE. So there I go and add the WITH_LINUXTHREADS=no and… the installation fails at… linuxthreads.
Well. I’ve spent lots of time googling, passed numerous make errors. Basically at the end of the day I just modified the Makefile of the mysql port to totally bypass the WITH_LINUXTHREADS and just add the standart non-linuxthread configure options.
Open the Makefile
# vi /usr/ports/databases/mysqlxx-server/Makefile
Find these lines (or similar)
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads
LIB_DEPENDS+= lthread.[35]:${PORTSDIR}/devel/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++’
Change to
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_CFLAGS}
Everything compiled and installed afterwards without the linuxthreads (I did not want them anyway).
Category: Uncategorized | Leave a Comment
Wednesday, June 04th, 2008 | Author: Timur Asaliev
jQuery is around for a while already, but only recently I actually sat down and decided to give it a go. jQuery website defines itself as:
jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.
After trying it out, going through jQuery wiki pages I have to say it probably is the best Javascript framework I’ve seen. I have tried mootools (not very recent though), scriptaculous, but jQuery just beats them all. It’s lightweight, very easy to use, has a bunch of ready-made plugins and a large community.
If you’re planning to do some Javascript, try jQuery. Meanwhile I am placing jQuery on my must-use list.
Category: Uncategorized | Leave a Comment
Tuesday, June 03rd, 2008 | Author: Timur Asaliev
After reading Leonid’s blog entry on annoying software I decided to put down my own list. So here it goes
This seems to be it as I cannot come up with anything else.
Category: Blogging | 2 Comments
Monday, June 02nd, 2008 | Author: Timur Asaliev
Just finished upgrading my really old 2.2.something version of wordpress. Everything went nice and smooth. Good job, wordpress community!
Edit: I’m still looking for a new style..
Category: Blogging | Leave a Comment
Monday, June 02nd, 2008 | Author: Timur Asaliev
I had an arranged visit to a dentist today. Result - 2 new fillings.
Keep your teeth clean, people.
Category: Blogging | Leave a Comment