drupal conf moscow 2012. pavel prischepa. business friendly drupal

31
Business-Friendly Drupal Project manager i20.biz [email protected] Pavel Prischepa

Upload: drupalsib

Post on 02-Jul-2015

354 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Business-Friendly Drupal

Project [email protected]

Pavel Prischepa

Page 2: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Agenda

1. Drupal means business

2. Business application framework

3. Registers, documents, reports

4. Conclusion

Page 3: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Drupal means business

● Drupalcon Denver 2012 ● Drupal Business Days Helsinki 2011 ● Drupal Business Summit Chicago 2010

Page 4: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Business questions

● How can I start using e-commerce? ● How can I reduce my website costs? ● How can I make my site easier to use? ● How can I integrate my existing systems? ● How can I get a larger ROI?

Page 5: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Business questions

UbercartCommerce...

?

Page 6: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Business application framework

Page 7: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

What is framework?

Do you need this? Do you've the framework?

What is framework

Page 8: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

This is framework

Page 9: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

This is framework

Page 10: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

framework too

Page 11: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Not a framework

Page 12: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Components

Documents Registers Reports

Page 13: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Documents

An analogue of real-world business documents. ● Invoice ● Bill of lading ● Receipt ● ...

Page 14: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Common fields

● Date ● Number: ST-00583 ● Kind ● Comment

Drupal 7 Entity

Page 15: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Commit mechanism

Commit

Revert

CommittedDraft

hook_document_commit()

hook_document_revert()

Page 16: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Registers

Multi-dimensional data storage. ● Stock ● Sales ● Settlement account ● ...

Ctools plugin

Page 17: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Register types

Info key = value

History key = value + history

Movement movements

Remnant movements + remnants

Accounting accounting records

Page 18: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Stock register

Stock

Article

QuantitySum

Resources:Dimensions:

Page 19: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Stock register movements

Date Stock Article Quantity Sum2012-03-01 S1 A 10 100

2012-03-02 S1 A 5 50

2012-03-03 S2 B 8 80

Page 20: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Stock register remnants

Date Stock Article Quantity Sum2012-03-31 S1 A 15 150

2012-03-31 S2 B 8 80

Page 21: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Stock register contents

Stock Article Quantity SumS1 A 15 150

S2 B 8 80

Page 22: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

MayApril June

Stock remnants

Stock contents

Stock register scheme

Page 23: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

MayApril June

Stock remnants

April remnants

Stock register scheme

+ Movements

20.05

Page 24: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Documents + Registers

Page 25: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Hook commit

$register = register_get('stock'); $register->addMovement(array(

'date' => $doc->date,'stock' => $doc->stock_id,'article' => $doc->article_id,'quantity' => $doc->quantity,'sum' => $doc->sum,

));

Page 26: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Hook revert

Date Doc ID Stock Article Quantity Sum

2012-03-01 8 S1 A 10 100

2012-03-02 12 S1 A 5 50

2012-03-03 15 S2 B 8 80

Page 27: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Reports

● Traditional reports ● OLAP cubes

Page 28: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Conclusion

1. Lower total cost of ownership

2. Rapid development, Higher quality

3. Flexible

4. Ready for integration (Commerce, Ubercart)

5. New possibilities: ERP, HRM, ...

Page 29: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Current state

Dev version:

Documents 60% Registers 70% Reports 30%

Page 30: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Roadmap

Documentation Unit test Drupal kits

Integration with:Commerce1C, Client-bank systems

Page 31: Drupal conf moscow 2012. pavel prischepa. business friendly drupal

Thank you for your attention

Project [email protected]

Pavel Prischepa