You can write as many triggers per Object, but the allowed limit is 3,000,000 characters for the entire triggers and apex classess for a dev org. As per best practices one trigger for one object
Refer this also http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_qs_HelloWorld.htm http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_context_variables_considerations.htm Hope this helps..:)
Kindly mark my solution as the best answer if it helps you.
The Force.com platform supports attaching any number of triggers to an object, but there is no guaranteed order of execution, and multiple trigger instances often query the same set of data, which can cause performance and governor headaches.
To avoid these problems, and others, an accepted best practice is to delegate trigger handling to a second class, so that there is one trigger handler per object.
You can write as many triggers per Object, but the allowed limit is 3,000,000 characters for the entire triggers and apex classess for a dev org.
As per best practices one trigger for one object
Refer this also
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_qs_HelloWorld.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_context_variables_considerations.htm
Hope this helps..:)
Kindly mark my solution as the best answer if it helps you.
visit us for more salesforce development http://www.forcelearn.com
Best Regards,
Bhanu Prakash
ForceLearn
Trigger Handlers:
- The Force.com platform supports attaching any number of triggers to an object, but there is no guaranteed order of execution, and multiple trigger instances often query the same set of data, which can cause performance and governor headaches.
- To avoid these problems, and others, an accepted best practice is to delegate trigger handling to a second class, so that there is one trigger handler per object.
- https://developer.salesforce.com/page/Trigger_Handlers
- https://developer.salesforce.com/forums/?id=906F000000093cKIAQ
hope it helps.Please mark it as best answer if the information is informative.
Thanks
Rahul Kumar