Posts tagged with ‘development’

 

Okay, Django 1.0 alpha has been released finally. I don’t have the time to test this out but I played around with some pre 1.0 alpha builds a couple of weeks back and that time the software was quite stable already.

Django 1.0 alpha released!

In accordance with the Django 1.0 release roadmap, tonight we’ve released the first “alpha” testing version of Django 1.0. This release includes all of the major features due for inclusion in the final Django 1.0, though some lower-priority items are still scheduled to be included before the 1.0 feature freeze, which will occur with the first beta release next month.

The next step on that path will be the first Django 1.0 beta release, currently scheduled for August 5. If you’d like to help out, please review our documentation for contributors and feel free to join in one of the development sprints scheduled for the run up to 1.0; the full schedule is available in the Django 1.0 release roadmap.

Now when would CakePHP 1.2 be released?

 

I’m using Windows Vista and Windows XP. Enabling cURL (Client URL Library) of PHP is really easy and is a matter of uncommenting something only.

Open your php.ini. I use XAMPP for development, XAMPP’s php.ini can be found in C:\xampp\apache\bin\php.ini. You can probably find your copy lurking around there if you use XAMPP.

Do a search of ‘curl’ in the php.ini, there’s probably only one.

extension=php_curl.dll

Uncomment it.

 

My environment is Windows Vista but these instructions work for Windows XP as well.

0. Introduction

Sometimes, we have multiple projects and we would like to access the Project 1’s website by typing ‘http://project1/’ in the browser address bar. And Project 2 may be at ‘http://project2/’. This is how we can configure Windows and Apache to do just that. While this guide is written for XAMPP’s Apache, if the instruction applies pretty much to Apache too. You can put your configuration into ‘httpd.conf’.

1. Add a new host in Windows

First go to your hosts file, it is located at C:\Windows\System32\drivers\etc\hosts for most people. If you’re using Windows Vista, you need to run command prompt as administrator. Type ‘cmd’ into the search bar and right click on the ‘cmd’ search result to point to ‘Run as administrator’. (more…)

 

The easiest way to start developing in PHP is to get XAMPP, the whole package can even be placed in a flash drive.

0. Objective

To get your PHP scripts to send an email out. This guide assumes you have XAMPP or XAMPP Lite. My environment is Windows Vista. (I use XAMPP Lite by the way)

My XAMPP is placed in C:\xampp\, so your configuration may be a little different. The files to be modified are sendmail.ini and php.ini.

1. Modify your sendmail.ini

Your sendmail.ini should be located in C:\xampp\sendmail\sendmail.ini. You only need to be concern with 3 variables here: (more…)

 

Queryset-refactor branch was used to develop a major refactoring of the django.db.models.query.QuerySet class to fix a group of SQL problems and make SQL generation easier for database backends requiring customization. The branch was created on 13 September, 2007, and merged into trunk on 26 April, 2008 (in [7477]).

More information on the wiki.

I don’t have time to explore these things right now but I sure will when my examinations are over.

 

Okay, I realized this long ago but it annoys me that every time I just forget this. Sometime, when debugging CakePHP, the most direct method is to simply log an error. It’s like ‘trace’ in Actionscript or just a println() in Java. Anyway, here it is:

$this->log("Log anything here.");

This can be called from the controller. (more…)

 

WordPress powered and Django inspired.
Love and elephants come after.
RSS: Posts and comments.