I needed to do it for a windows application I’m writing. My problem was to get the current serial number windows provides when a drive is formatted. You know, the one that appears when you type the “dir” command in a ms-dos prompt window. I googled around but I found only code for VB6 or code which should not have worked in a console application.
No default .NET object was giving me the piece of information I needed, so I though to get It directly from the “dir” command.
I got how to launch a process and get its output from EggHeadCafè but I added some work by me.
Read the rest of this entry »
-
0 comments -
I always sayd that one of my aims was to develop an “important” framework to make PHP work like Ruby On Rails. The first alpha/unstable/use-at-your-own-risk version will be probably released in the first months of 2010. You know…I have to work, so my experiments are done during my freetime (especially at night…). So if you appreciate my “second” job as a web development researcher you can contact me for a donation via PayPal. But now let’s talk about PhpOnTheRoad, my new PHP framework!
Read the rest of this entry » -
Hi all…first I wold thank all the people which are visiting and leaving comments on this blog!
I’m currently working on a Ruby On Rails project for the company where I work. According to my company’s bosses decisions all projects have to be developed on a testing server and then switch the project to a production system. Tomorrow I have to prepare the “production” system for my RoR project. So I said to myself: “Please don’t go to the server farm without knowing exactly what to do”. I took an old Fujitsu Notebook (with Japanese keyboard) and installed Debian 5.0.
Read the rest of this entry » -
I’ve tryed it…Aptana Studio is a great IDE for web development, I used it a lot with PHP…but had a great problem wich lead me to use TextMate instead. Aptana Studio can become very very slow during its startup. It is because it tries to index all your file of all your open projects. I always have more than 10 projects in my Eclipse IDE (on whom Aptana Studio is designed) and the time to wait for Aptana Studio to let me work was awful. I returned to PHPEclipe plugin for Eclipse,Netbeans or TextMate, swiching them just in case of my programming needs. But now I need something for Ruby On Rails. Ok i can use TextMate, but I also want to use RadRails installed above my Eclipse Galileo…but RadRails is now integrated in Aptana Studio! And there seems not to be a link to install it as Eclipse plugin…
Read the rest of this entry » -
I think there are many good programs to manipulate and acquire images from saned scanners.
But I had some trouble in my network configuration. I have a linux debian server which I use as a print server and samba server for some small backup for stuff I seldom use. So why don’t use it also as a scanner server?
Read the rest of this entry » -
I always wanted to develop a PHP framework similar to Ruby On Rails…so some time ago I started this project. When I started its development I wrote PHP4 compatible code, but now I think this framework should be at least PHP5 compatible. Probably a PHP 6 compatible version will be the next step after 1.0 release.
So I started writing it for PHP5 but I was never satisfied of my work, so I didn’t release the framework (early versions lack of generators,migrations and test suites) .
Now I feel a first nighty-build release of my PHP framework will come out very soon, so stay tuned.
It will be only MySQL and MySQLi compatible, full support for Postrgres, Oracle, MS-SQL and other DBMS will be added later.Here are the System Requirements and the features I’m developing
**** SYSTEM REQUIREMENTS ****
I won’t tell you about the hardware. Needed to be installed a Web Server (e.g. Apache) and PHP 5.
PHP need to come with some PEAR packages installed. First of all MDB2 and MDB2#mysql (or MDB2#mysqli).
Needless to say that MySql and MySqli extensions have to be loaded in your php.ini**** DEVELOPED FEATURES ****
- Migrations: mysql and mysqli migrations are supported
- ActiveRecord: easy to use and smart ActiveRecord implementation started. It uses MDB2 to access database.**** STILL ON WORK FEATURES ****
- Controllers implementation and generator
- Models generator
- Helpers (e.g. Forms auto-builder, and stuff like this)
- Engines (the way the framework rewrites URLS)
- Template EngineSome words about the Template Engine. I think I will use Smarty as the base template engine. Please let me know if you prefer other template engines or if I should write a new one from scratch (an .rhtml complatible template engine?). Needless to say it will be the last thing I will develop, so design ideas are well accepted!!!
I’d like also know how many people are still using PHP4 and need a PHP4 compatible framework. If there are many, I will think about doing it.
-
Last week, I was following Software Design lessons at my university. While the professor was explaining why good design is important for building good software, I started to dream the solution of my problems. If I have to build a simple web site, what do I need? Something between Joomla and Wordpress.
I think Joomla is not so easy to manage, while Wordpress is too simple. Obviously they are 2 differents thing with diffrent purposes. I’d like to know what dow you think about creating Jangol. Should I continue? Should I stop? Does someone already did something better? Which features should Jangol include? Please Help me…
-
18
Feb 09I’m receiving lots of comments written in Russian. I don’t know if they’re spam or not. Of Course I can’t check the content (I’m not able to read and understand Russian and other non-latin alphabet languages).
So if you want to post some comment, please write it in a language I can understand (English or Italian). Every comment written in an another language will be considered as SPAM.Thanks.
-
One of the more powerful features of the Ruby On Rails framework is the implementation of the ActiveRecord pattern. It provides the basic database operations (CRUD, Create Read Update Delete) in order to have fun in programming and not writing all the same boring SQL queries.
ActiveRecord implementation is quite complex in RubyOnRails. Let’s see an “easier” implementation in PHP. We should come to a very powerful version in some episodes.So stay tuned!
Read the rest of this entry » -
24
Dec 08Only few hour to Christmas here in Italy. Greetings to everybody visits my Blog and web-site.
What are you going to ask to Santa Claus as a present? A new version of PHP? New MySQL? A new PHP Framework?
If your wishes are some of these you can believe Santa actually exists! A new version of Generally Available MySQL has arrived only about a month ago (5.1). PHP is going to bring to the public new versions of PHP…the 5.2 trunk is at revision 8 (5.2.8). I think they soon should put out a generally available version of PHP 5.3, the first supporting namespaces. Sincerely, I don’t think they will make a 5.2.83 version of PHP. They should stop before revision 20. Best if they stop before 10 (PHP 4.4 stopped at revision 9).
What about a new PHP framework? I’m currently developing it, probably I will use it in my last degree discussion.
It is called PhpOnTheRoad. It aims to be an implementation of the RubyOnRails framework. I think after my degree is taken (hope a 110 & lode as final grade, the maximum in Italy) it will be generally available to the public.Please let me know what would you find in this framework (think of what you dislike about RoR and why you love it).
Help for future versions is well accepted. Please send me an email to contactNO@SPAMdanieleveratti.com (you know what to delete…) or try to leave a comment to this post.Merry XMAS (or Christmas if u prefer) to Everybody!!!



