Articles Tagged with development
You are currently browsing 14 articles tagged with development.
Sleek/aFramework and Drupal
Published Monday 26th of April 2010
I've never really checked out Drupal properly before (or any other framework for that matter) but tonight (16/4) I spent a few hours reading the docs.

It's almost scary how many things are similar, and in some cases completely identical, to aFramework/Sleek.
Join 2 others and post a comment
aFramework 4.0 a.k.a. SleekPHP
Published Wednesday 21st of April 2010
As usual when I've finished building 5 or 6 sites and ~80 modules for one version of aFramework I want to start the next, non-backwards-compatible, version of it :P

This year is no different and I've begun development on aFramework 4.0 or Sleek 0.1.
Join 2 others and post a comment
How to Build an aFramework Module
Published Friday 16th of April 2010
As a follow up to "How aFramework Works" I thought I'd explain how to build your own modules for aFramework.
It's actually very simple. Of course you'll need to know the languages you'll be writing but I assume you do. The simplest modules consist of nothing but HTML.
Be the first to post a comment
How aFramework Works
Published Saturday 10th of April 2010
aFramework is my home made PHP web dev framework that I run almost all my projects on.
Today I thought I'd exaplain how aFramework goes from a requested URL to a rendered page.
Be the first to post a comment
New aFramework Site; aBugTracker, along with bugtracker.a-framework.org
Published Monday 29th of March 2010
My old todo.txt was seriously starting to get out of hand so I decided it was time I structure all my tasks for all my projects in a little more organized manner.

I've also been wanting to show the public what's in store for aFramework (and its sister sites) for some time now and with the new bugtracker.a-framework.org I've done just that.
I don't really work in sprints but I thought it was fun to build the sprint backlog thingy anyway so I did.
It's also pretty nice to quickly get an overlook of the tasks I should be focusing on atm.
I'm sure most people have no use for a bug tracker but I was so fed up with that old txt-file I just had to do something about it :P
Join 1 others and post a comment
New jQuery Plug-in; Slide Presentation
Published Monday 22nd of March 2010
I'm trying to put together a little intro/demo for aFramework so I built this slide plug-in for jQuery.
Ultimately I didn't feel it was what I was after with the aFramework intro but perhaps someone will find it useful.
Run it on a container of a list of images with text and the plugin will slide through all the images, stopping on each to display all the paragraphs of text.
The HTML needs to be:
div: container
ul
li: the first step in the slide
img: the image to be displayed in this step
p: first paragraph of text to be displayed
p: second paragraph of text...
li: the first step in the slide
img: the image to be displayed in this step
p: first paragraph of text to be displayed
p: second paragraph of text...
li: the first step in the slide
img: the image to be displayed in this step
p: first paragraph of text to be displayed
p: second paragraph of text...And then simply run the plugin on the container and it'll do the rest. You can override the default width/height settings, their styling is only on a single class (.jquery-slide-presentation) so target your container's ID instead and you're gtg.
Be the first to post a comment
aFramework 3.2
Published Monday 15th of March 2010
Last week I put the latest version of aFramework up for download on the official site.
So What's New?
Well as usual there's been plenty of bug fixes, optimizations, tweaks and enhancements but to mention some of the bigger stuff...
Be the first to post a comment
New OurFuture.eu - Running on aFramework
Published Monday 22nd of February 2010
I've mentioned before that I've been semi-busy (I still find time to snorkel :) with freelance.

A few days ago we went live with the new site (OurFuture.eu) and I'm pleased with how it all worked out.
Be the first to post a comment
Sidkritik.se - Få konstruktiv kritik på din hemsida
Published Monday 15th of February 2010
Många forum har en avdelning för kritik på hemsidor och de är ofta rätt aktiva. Jag har däremot aldrig sett en sida helt dedikerad till just hemsiderecensioner så jag bestämde mig för att bygga en.

Be the first to post a comment
aFramework Release
Published Monday 28th of December 2009
I've put it up for too long now but I've finally made a (beta) release of aFramework to the public.

I've had some freelance the last couple of months (a new version of "Our Life as Elderly") which has meant that I've had to fix certain things with aFramework like brushing up all the admins and fixing a couple of bugs.
The main thing though is that aFramework now natively supports more than one language on the same site. Each language gets its own URL like: mysite.com (default language), mysite.com/sv/ (swedish), mysite.com/es/ (spanish) etc.
I've also made tons of other fixes, tweaks and optimizations. If you check the svn commits you'll see plenty of them the last few months.
Anyway, as it all started to shape up quite nicely I figured it was time to release it to the public so I put together a super-simple one-page-style and a zip with the latest code and put it all on a-framework.org (everything else was taken :/).
There's a demo too where you can check out most of the features as well as try out the admin.
Laters
Be the first to post a comment
The Site Looks Weird in FF3
Published Tuesday 30th of June 2009
I've been doing more bug-fixing lately, and one I did recently introduced several new ones in FF3 but not in Chrome, Opera, Safari or FF3.5.
What I did was I added a "Continue Reading"-link at the bottom of the article on the home-page. In order to style it without using a class I used the :last-of-type pseudo-class:
#article > p:last-of-type = $icon;As you can see I'm using a type of CSS-constants (new version in the works btw), and because many other selectors should be icons as well they're all merged by the constants-parser so in the end i end up with something like this:
#article > p:last-of-type,
#article > dl:last-child dt,
#quick-about > p:last-child {
/* Icon styling */
}What seems to happen is that when Firefox chokes on one of the selectors it ignores (or improperly parses) the entire block.
Since 3.5 is out I expect it to start taking over so I thought I'd leave this bug as it is.
Sorry for any inconvenience!
Be the first to post a comment
Bug Fixin'
Published Wednesday 24th of June 2009
My evening was kind of free today and I felt like coding so I took the time to sort out some annoying bugs I've been having with aFramework v3, and hence AndreasLagerkvist.com as well.

Here's a list of the updates:
- I've solved the case of the missing RSS-feed.
- I had a bug where line-breaks weren't allowed in comments - pretty bad, but fixed now.
- Removed previous-link from first page recent-comments.
- Now sorting the plugins by name.
- Now the date of a comment links to the comment, the author's name links to his/hers website.
- Fixed broken pagination for search-results.
+ some more, even less interesting fixes.
Stay tuned for real articles :)
Be the first to post a comment
Super Simple Ajax (Without a Framework)
Published Friday 12th of June 2009
If you're looking for the bare minimum when it comes to doing cross-browser GET or POST XHR then this might be the script for you.
I know there's hundreds (probably thousands) of these scripts out there already but even the most lightweight ones I could find seemed kind of bloated.
Example
// GET latest-comments.php and update the #latest-comments element
superSimpleAjax({url: 'latest-comments.php'}, 'latest-comments');
// GET article with ID 12 and alert its contents
superSimpleAjax({
url: 'get-article.php',
data: 'id=12',
callback: function (data) {
alert(data);
}
});
// POST a comment to post-comment.php
superSimpleAjax({
method: 'POST',
url: 'post-comment.php',
data: 'author=John Doe&email=johndoe@johndoe.com&content=Hi, my name is John Doe',
callback: function (data) {
alert('Thanks for your comment!');
}
});Grab the code from Google Code. It's about 1k uncompressed.
Enjoy!
Be the first to post a comment
New Domain, Design, Front-end and Back-end
Published Monday 1st of June 2009
Por fin! A brand new design on a brand new domain running on a brand new back-end!

It took a little longer than I expected but I've finally "finished" AndreasLagerkvist.com.
Join 3 others and post a comment
Random jQuery Plug-ins
Form Hints
Using this plug-in you can add a descriptive hint to any form-control you may have on your site.
Add a hint by giving the form-control a title-attri...Max Length Form Controls
Gives form-controls with a 'maxlength-XXX'-class a max-length and prohibits user from entering more than set amount. It also displays number of charac...
Favicons
This little plug-in will insert favicons to all external links found on your site. The plug-in scans the URL the link is pointing to for a favicon and...
