MyDNS Starts Before Mysql

In order to force mydns start after mysql execute following:

cd /etc/rc.d/rc3.d
mv S52mydns S99mydns
cd /etc/rc.d/rc4.d
mv S52mydns S99mydns
cd /etc/rc.d/rc5.d
mv S52mydns S99mydns

See: http://www.howtoforge.com/installing-mydns-mydnsconfig-centos-5.1-p2
Also: http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-boot-init-shutdown-sysv.html

Drupal node access

How to restrict editing of verified content?
node_access is not called. It’s required to define node types from modules in order to have node_access hook be called.

Drupal Views - Right Join issue

Currently we are experiencing problem with drupal views.
We need to right join two entities.

ExtJs - Form field description and tips

The problem is that ExtJs is not presume field description at all.

There are Label component which can be used as field description.

Label component can be linked to particular so that formfield will be focused when label (description) clicked.

extjs-form-field-description

How to use svnignore!

1. Settings svn:ignore property

svn propset svn:ignore “*” folder1/
svn propset svn:ignore “*” folder2

2. Commit to apply changes.

svn ci -m “Data in these folders will be ignored by svn”

Source: http://www.devcha.com/2008/02/how-to-make-svn-ignore-some-folders.html

Magento and ExtJs

We are going to use in our huge auction project Magento Commerce Community edition.

http://www.magentocommerce.com/

Also decided to use ExtJs as user interface rendering engine.

http://www.extjs.com/

To work on server side objects without touching javascript code we decided to use PHP-Ext adapter.

http://php-ext.quimera-solutions.com/

Soon will drop about details. May be will publish Magento module as well.

Drupal rocks!

Currently we are working on social project. The platform that we are using is PHP/MySQL/Drupal.

I’ll list all modules that used to build this website.

We have migrated to EZZI.net

Finally!

Now we are on Dedicated Server hosted at EZZI.net.

Box is cheapest one, but it’s much better than VDS at VPSLink.

Within next months we are planning to upgrade box to increase RAM and setup RAID.

Magento As Development Platform

My company just got new project making enhanced auction platform.

Requirements are very complex - lot of use cases.

Architecture discussed and clean, the problem is technology. .NET/MSSQL vs PHP/MySQL.

Client likes cheaper solution, but it depends. Here we have two criteria - expenses on development and expenses on support and hosting.

.NET development will not take so much time as PHP and may be at that point client will have more stable solution compared to PHP based solution since .NET Framework is commercial and it solving lot of problems what I can’t tell about PHP.

But .NET hosting as development/support is expensive.

PHP is cheap but poor - all staff should be implemented from null since solution is not standard. Most enhanced CMS/CMF’s will not be able to cover even 30% of functionality and they are restricting actions because of their internal rules.

Since we deal with  ZendFramework before and understand power and dynamics of growth of this framework decided to stick to.

But it’s till not covering basic needs of our system. In fact it’s not even depends from solution. Lets image that you need to build custom logic application based on PHP. ZendFramework is too raw and there will be needed to make lot of staff to make simple things working like User Authentication/Management.

After three days discussions we considered to use Magento Open Source eCommerce solution as platform.

Currently we are working on prototyping application on Magento base.

Wish good luck us.

Will write about problems that we experienced with cleaning of Magento business logic and how Magento Commerce business logic monolith with his core.

Node forms in Drupal Panels

In order to enclose Drupal node forms with Panels you will need to:

1. Create panel

2. Setup context for corresponding form type (this will add forms section in content selection window)

3. Add form from content selection form and specify node type for which you are going to use this panel.

This is first time that we are using panels to enclose node create/update forms and got there problem.

It seems module panels moving node update/save buttons into top fixing these form elements weight. We tried to fix weight using content type management page (CCK), tried to use custom module with hook_form_alter without any result.

Will update post there we will find solution to this problem.