SlideShare uma empresa Scribd logo
1 de 17
Lets talk about Craft!
Presented by Jason McCallister
No, no - not that kind
of Craft….
this kind…
intro
• Developed by Pixel & Tonic (pixelandtonic.com)
• Makers of popular ExpressionEngine add-ons Playa,
Matrix and more.
• Version 2.0 was released on April 1st
• Built on Yii (http://www.yiiframework.com/)
• Twig Template Engine (http://twig.sensiolabs.org/)
a few features
• One-click updating
• Live Preview
• Matrix
• Responsive Control Panel
• Sections and Channels
• Entry types
different..
• Built completely around your content - assumes
zero about your website and content (no required
files or templates - or even fields!)
• Support on Google Plus and via email directly from
the developers
• Element Types
element types
“File systems manages files. iPhoto manages photos.
iTunes manages media. Blogging systems manage
entries. And content management systems manage…
“content”. But what is “content”? Historically it has
meant “entries…”
http://pixelandtonic.com/blog/craft-element-types
element types
“While other content management systems are busy
managing entries, Craft manages elements. Everything in
Craft – your site’s users, assets, categories, tags, globals,
even Matrix blocks, and of course, entries – they’re all
elements. That’s why everything is so consistent in Craft.
It’s not that entries and users both individually have custom
field support, it’s that they share the same system-wide
custom field support that’s available to all elements. Same
with relations, and a slew of other things.”
http://pixelandtonic.com/blog/craft-element-types
element types
“…People expect more and more out of their websites.
Even “simple” content-only sites aren’t so simple
anymore. It’s not just about entries having custom
fields; it’s about custom fields everywhere – on assets,
users, categories, tags, even custom fields within
custom fields (a la Matrix). We’ve been at the forefront
of the custom field craze at P&T – our FieldFrame for
ExpressionEngine ignited it…”
http://www.producthunt.co/posts/2526
craft/config/db.php
’server' => 'localhost',
'user' => ‘awesome_squirrel',
'password' => ‘Sup3rSEcritP@$$‘,
'database' => 'myAwesomeCoolDB',
/** only required configuration for installation */
craft/config/general.php
‘omitScriptNameInUrls' => true,
'cpTrigger' => ‘the-cloud’,
'siteUrl' => ‘http://domainname.com‘,
'fileSystemPath' => ‘/path/to/folder’,
'devMode' => true,
/** more http://buildwithcraft.com/docs/config-settings */
multi-env general.php
return array(
’*' => array(
'omitScriptNameInUrls' => true,
'cpTrigger' => ‘secretAgentMan'
),
'mydevwebsite.local' => array(
'devMode' => true,
'environmentVariables' => array(
'siteUrl' => 'http://mydevwebsite.local',
'fileSystemPath' => ‘/path/to/mydevwebsite.local’
)
),
multi-env db.php
return array(
'*' => array(
'tablePrefix' => 'prefix',
),
‘domain.local' => array(
'server' => 'localhost',
'user' => 'user',
'password' => 'password',
'database' => 'dbnamegoeshere',
),
‘domain.com' => array(
'server' => getenv('DBHOST'),
'user' => getenv('DBUSER'),
'password' => getenv('DBPASS'),
'database' => getenv('DBNAME'),
)),
twiggy, twig, twig…
OMG UNICORNS!
“..its like a magical walk down candy lane with unicorns…”
resources
Straight Up Craft
http://straightupcraft.com
Craft Cookbook
http://craftcookbook.net/
exit;
the boring part is now over….
thank you!
Jason McCallister
http://themccallister.com
or
@theMcCallister

Mais conteúdo relacionado

Semelhante a San Diego PHP Craft CMS

Client Building Functional webapps.
Client   Building Functional webapps.Client   Building Functional webapps.
Client Building Functional webapps.Arun Kumar
 
Advanced Web Development
Advanced Web DevelopmentAdvanced Web Development
Advanced Web DevelopmentRobert J. Stein
 
Building Rich Internet Applications with Ext JS
Building Rich Internet Applications  with Ext JSBuilding Rich Internet Applications  with Ext JS
Building Rich Internet Applications with Ext JSMats Bryntse
 
Synapse india reviews on drupal 7 entities (stanford)
Synapse india reviews on drupal 7 entities (stanford)Synapse india reviews on drupal 7 entities (stanford)
Synapse india reviews on drupal 7 entities (stanford)Tarunsingh198
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Microsoft Iceland
 
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript AppsBusy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript AppsJAX London
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesMark Roden
 
WRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirWRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirpetrosoininen
 
Android Jumpstart Jfokus
Android Jumpstart JfokusAndroid Jumpstart Jfokus
Android Jumpstart JfokusLars Vogel
 
ItemMirror, XML & The Promise of Information Integration
ItemMirror, XML & The Promise of Information IntegrationItemMirror, XML & The Promise of Information Integration
ItemMirror, XML & The Promise of Information Integrationkeepingfoundthingsfound
 
JavaScript!
JavaScript!JavaScript!
JavaScript!RTigger
 
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)Gerke Max Preussner
 
ExtBase workshop
ExtBase workshop ExtBase workshop
ExtBase workshop schmutt
 
Silverlight 2 For Developers
Silverlight 2 For DevelopersSilverlight 2 For Developers
Silverlight 2 For DevelopersMithun T. Dhar
 

Semelhante a San Diego PHP Craft CMS (20)

Client Building Functional webapps.
Client   Building Functional webapps.Client   Building Functional webapps.
Client Building Functional webapps.
 
Advanced Web Development
Advanced Web DevelopmentAdvanced Web Development
Advanced Web Development
 
Building Rich Internet Applications with Ext JS
Building Rich Internet Applications  with Ext JSBuilding Rich Internet Applications  with Ext JS
Building Rich Internet Applications with Ext JS
 
CMS content
CMS contentCMS content
CMS content
 
Synapse india reviews on drupal 7 entities (stanford)
Synapse india reviews on drupal 7 entities (stanford)Synapse india reviews on drupal 7 entities (stanford)
Synapse india reviews on drupal 7 entities (stanford)
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2
 
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript AppsBusy Developer's Guide to Windows 8 HTML/JavaScript Apps
Busy Developer's Guide to Windows 8 HTML/JavaScript Apps
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
 
WRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAirWRT Widgets Masterclass - OverTheAir
WRT Widgets Masterclass - OverTheAir
 
People aggregator
People aggregatorPeople aggregator
People aggregator
 
Javascript libraries
Javascript librariesJavascript libraries
Javascript libraries
 
.Net template solution architecture
.Net template solution architecture.Net template solution architecture
.Net template solution architecture
 
Android Jumpstart Jfokus
Android Jumpstart JfokusAndroid Jumpstart Jfokus
Android Jumpstart Jfokus
 
REST easy with API Platform
REST easy with API PlatformREST easy with API Platform
REST easy with API Platform
 
ItemMirror, XML & The Promise of Information Integration
ItemMirror, XML & The Promise of Information IntegrationItemMirror, XML & The Promise of Information Integration
ItemMirror, XML & The Promise of Information Integration
 
JavaScript!
JavaScript!JavaScript!
JavaScript!
 
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
 
Web works hol
Web works holWeb works hol
Web works hol
 
ExtBase workshop
ExtBase workshop ExtBase workshop
ExtBase workshop
 
Silverlight 2 For Developers
Silverlight 2 For DevelopersSilverlight 2 For Developers
Silverlight 2 For Developers
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

San Diego PHP Craft CMS

  • 1. Lets talk about Craft! Presented by Jason McCallister
  • 2. No, no - not that kind of Craft…. this kind…
  • 3. intro • Developed by Pixel & Tonic (pixelandtonic.com) • Makers of popular ExpressionEngine add-ons Playa, Matrix and more. • Version 2.0 was released on April 1st • Built on Yii (http://www.yiiframework.com/) • Twig Template Engine (http://twig.sensiolabs.org/)
  • 4. a few features • One-click updating • Live Preview • Matrix • Responsive Control Panel • Sections and Channels • Entry types
  • 5. different.. • Built completely around your content - assumes zero about your website and content (no required files or templates - or even fields!) • Support on Google Plus and via email directly from the developers • Element Types
  • 6. element types “File systems manages files. iPhoto manages photos. iTunes manages media. Blogging systems manage entries. And content management systems manage… “content”. But what is “content”? Historically it has meant “entries…” http://pixelandtonic.com/blog/craft-element-types
  • 7. element types “While other content management systems are busy managing entries, Craft manages elements. Everything in Craft – your site’s users, assets, categories, tags, globals, even Matrix blocks, and of course, entries – they’re all elements. That’s why everything is so consistent in Craft. It’s not that entries and users both individually have custom field support, it’s that they share the same system-wide custom field support that’s available to all elements. Same with relations, and a slew of other things.” http://pixelandtonic.com/blog/craft-element-types
  • 8. element types “…People expect more and more out of their websites. Even “simple” content-only sites aren’t so simple anymore. It’s not just about entries having custom fields; it’s about custom fields everywhere – on assets, users, categories, tags, even custom fields within custom fields (a la Matrix). We’ve been at the forefront of the custom field craze at P&T – our FieldFrame for ExpressionEngine ignited it…” http://www.producthunt.co/posts/2526
  • 9. craft/config/db.php ’server' => 'localhost', 'user' => ‘awesome_squirrel', 'password' => ‘Sup3rSEcritP@$$‘, 'database' => 'myAwesomeCoolDB', /** only required configuration for installation */
  • 10. craft/config/general.php ‘omitScriptNameInUrls' => true, 'cpTrigger' => ‘the-cloud’, 'siteUrl' => ‘http://domainname.com‘, 'fileSystemPath' => ‘/path/to/folder’, 'devMode' => true, /** more http://buildwithcraft.com/docs/config-settings */
  • 11. multi-env general.php return array( ’*' => array( 'omitScriptNameInUrls' => true, 'cpTrigger' => ‘secretAgentMan' ), 'mydevwebsite.local' => array( 'devMode' => true, 'environmentVariables' => array( 'siteUrl' => 'http://mydevwebsite.local', 'fileSystemPath' => ‘/path/to/mydevwebsite.local’ ) ),
  • 12. multi-env db.php return array( '*' => array( 'tablePrefix' => 'prefix', ), ‘domain.local' => array( 'server' => 'localhost', 'user' => 'user', 'password' => 'password', 'database' => 'dbnamegoeshere', ), ‘domain.com' => array( 'server' => getenv('DBHOST'), 'user' => getenv('DBUSER'), 'password' => getenv('DBPASS'), 'database' => getenv('DBNAME'), )),
  • 14. OMG UNICORNS! “..its like a magical walk down candy lane with unicorns…”
  • 16. exit; the boring part is now over….