The Laravel project has made a pretty smart move, that now is also in their quick start guide. They enable you to install it directly through composer! I’ve written about composer once when I ran into a little quirky bug on MacOS.
Using composer, which is a general dependency manager for PHP seems like a big step towards more interchangeable code between different PHP frameworks. I’ve briefly looked into Sparks some time ago, but it’s pretty specifically aimed at the CodeIgniter framework. Continue reading “PHP MVC: The Laravel Framework”
Writing from a developers point of view and writing from a PBA studies examinators point of view are very different things. Developers want to write code and slam documentation into MarkDown files they can track with git (assumption). PBA examinators want a footnote drenched, printable document, that belongs back in the 1970s (fact).
For my last hand-in I’ve created a quick & dirty script, that does just that to your MarkDown files. Continue reading “Quick & Dirty: MarkDown to PDF”
Having to hit a character limit is not the smartest rule in our educational system, but I get where it comes from. To track the process of how far along one is, I’ve created a little script that counts characters in a couple of files at once and outputs it with some percentage calculations. Nothing fancy, but I’ve used this about 200 times in the past month, so I thought I’d share it. Continue reading “Quick & Dirty: Character Counting”
I’m hosting another workshop, this time about HTML & CSS, mainly for students at the EAL, but everybody is welcome.
Since some students are about to create their first website and have not had lessons about HTML, we’re going to take very basic things first and then get coding right away.
As usual I’ll post my slides up front, so everybody can see what they’re going to spend 2-3 hours of their life on. Continue reading “HTML Workshop Odense, Denmark”
As recently announced on the WordPress blog, WordPress 3.6 is going to have new short codes to theme the post formats.
For theme developers that means that
the_content() will be supplied with functions like
This is going to be great, because in the nightly build of WordPress the post format specific fields are prepended into the post content.
I see this as a great way of making the new features and the more approachable editor UI accessible to theme developers.
What are Twitter Cards?
Twitter cards reveal more about the site you’re linking too in a tweet. They come in three flavours: summary, photo and player.
Why should I use Twitter Cards?
As shown in the picture below, you simply give your followers or your extended audience the possibility to get a preview inside what you have linked, instead of just a link to a site they may not know. Continue reading “Twitter Cards Support in your WordPress Theme”
GitLab in version 5.0 has been released and I’m looking forward to have the time to upgrade my own installation and play with my fellow node and code-heads at my academy!
The most exciting thing for me to see is how well the gitolite replacement gitlab-shell simplifies installation and boosts the whole project.
Update 19. 05. 2013:
I'm writing a book on git and GitLab, read more here: Writing a book on GitLab
Update: It’s been published, take a lookt at: GitLab Repository Management!
Codeacademy.com has just started releasing a PHP course to their track and progress based code learning system.
Right now only the Welcome to PHP! chapter is available, but more are listed and flagged as planned. Also a call for collaboration is included, since you can actually write the course.
Continue reading “Codeacademy.com releases PHP course”
I got some notifications from the Google Webmaster Tools recently. Increasing numbers in both server and not found errors. Here is how I solved them.
How to get rid of Not Found Errors?
Either put the missing content back up or tell Google and any other service or visitor that it is gone for good. I’ve written an article on How to take a site offline through .htaccess, that’s what I used here. Continue reading “Increase in Not Found Errors in Google Webmaster Tools?”
To take down a website or part of one, you can just point search engine spiders to the 410 status code.
.htaccess makes it very easy to flag a link as offline or gone. It’s what we’ll use to tell either google or other search engine spiders that the content that once was there is not anymore and that it is our deliberate choice.
Continue reading “Take site offline with .htaccess”