Permalink
Browse files

first pruning of core modules, updated README

  • Loading branch information...
1 parent 8821a4b commit f1e1607e24b28748bfe0f200123dca7b394b66c1 @mike503 committed Sep 17, 2011
Showing with 47 additions and 35,080 deletions.
  1. +47 −2 README
  2. +0 −34 modules/aggregator/aggregator-feed-source.tpl.php
  3. +0 −45 modules/aggregator/aggregator-item.tpl.php
  4. +0 −4 modules/aggregator/aggregator-rtl.css
  5. +0 −23 modules/aggregator/aggregator-summary-item.tpl.php
  6. +0 −23 modules/aggregator/aggregator-summary-items.tpl.php
  7. +0 −18 modules/aggregator/aggregator-wrapper.tpl.php
  8. +0 −597 modules/aggregator/aggregator.admin.inc
  9. +0 −231 modules/aggregator/aggregator.api.php
  10. +0 −38 modules/aggregator/aggregator.css
  11. +0 −61 modules/aggregator/aggregator.fetcher.inc
  12. +0 −14 modules/aggregator/aggregator.info
  13. +0 −308 modules/aggregator/aggregator.install
  14. +0 −763 modules/aggregator/aggregator.module
  15. +0 −524 modules/aggregator/aggregator.pages.inc
  16. +0 −328 modules/aggregator/aggregator.parser.inc
  17. +0 −200 modules/aggregator/aggregator.processor.inc
  18. +0 −859 modules/aggregator/aggregator.test
  19. +0 −12 modules/aggregator/tests/aggregator_test.info
  20. +0 −58 modules/aggregator/tests/aggregator_test.module
  21. +0 −20 modules/aggregator/tests/aggregator_test_atom.xml
  22. +0 −30 modules/aggregator/tests/aggregator_test_rss091.xml
  23. +0 −12 modules/blog/blog.info
  24. +0 −23 modules/blog/blog.install
  25. +0 −272 modules/blog/blog.module
  26. +0 −127 modules/blog/blog.pages.inc
  27. +0 −213 modules/blog/blog.test
  28. +0 −18 modules/book/book-all-books-block.tpl.php
  29. +0 −50 modules/book/book-export-html.tpl.php
  30. +0 −51 modules/book/book-navigation.tpl.php
  31. +0 −24 modules/book/book-node-export-html.tpl.php
  32. +0 −11 modules/book/book-rtl.css
  33. +0 −264 modules/book/book.admin.inc
  34. +0 −54 modules/book/book.css
  35. +0 −14 modules/book/book.info
  36. +0 −92 modules/book/book.install
  37. +0 −22 modules/book/book.js
  38. +0 −1,315 modules/book/book.module
  39. +0 −220 modules/book/book.pages.inc
  40. +0 −284 modules/book/book.test
  41. +0 −44 modules/color/color-rtl.css
  42. +0 −81 modules/color/color.css
  43. +0 −12 modules/color/color.info
  44. +0 −57 modules/color/color.install
  45. +0 −243 modules/color/color.js
  46. +0 −740 modules/color/color.module
  47. +0 −133 modules/color/color.test
  48. BIN modules/color/images/hook-rtl.png
  49. BIN modules/color/images/hook.png
  50. BIN modules/color/images/lock.png
  51. +0 −7 modules/color/preview.html
  52. +0 −34 modules/color/preview.js
  53. +0 −32 modules/comment/comment-node-form.js
  54. +0 −5 modules/comment/comment-rtl.css
  55. +0 −51 modules/comment/comment-wrapper.tpl.php
  56. +0 −283 modules/comment/comment.admin.inc
  57. +0 −145 modules/comment/comment.api.php
  58. +0 −13 modules/comment/comment.css
  59. +0 −16 modules/comment/comment.info
  60. +0 −552 modules/comment/comment.install
  61. +0 −2,697 modules/comment/comment.module
  62. +0 −119 modules/comment/comment.pages.inc
  63. +0 −1,980 modules/comment/comment.test
  64. +0 −241 modules/comment/comment.tokens.inc
  65. +0 −90 modules/comment/comment.tpl.php
  66. +0 −206 modules/contact/contact.admin.inc
  67. +0 −13 modules/contact/contact.info
  68. +0 −168 modules/contact/contact.install
  69. +0 −257 modules/contact/contact.module
  70. +0 −291 modules/contact/contact.pages.inc
  71. +0 −416 modules/contact/contact.test
  72. +0 −24 modules/forum/forum-icon.tpl.php
  73. +0 −76 modules/forum/forum-list.tpl.php
  74. +0 −16 modules/forum/forum-rtl.css
  75. +0 −28 modules/forum/forum-submitted.tpl.php
  76. +0 −68 modules/forum/forum-topic-list.tpl.php
  77. +0 −313 modules/forum/forum.admin.inc
  78. +0 −50 modules/forum/forum.css
  79. +0 −16 modules/forum/forum.info
  80. +0 −429 modules/forum/forum.install
  81. +0 −1,295 modules/forum/forum.module
  82. +0 −28 modules/forum/forum.pages.inc
  83. +0 −550 modules/forum/forum.test
  84. +0 −22 modules/forum/forums.tpl.php
  85. BIN modules/openid/login-bg.png
  86. +0 −18 modules/openid/openid-rtl.css
  87. +0 −110 modules/openid/openid.api.php
  88. +0 −46 modules/openid/openid.css
  89. +0 −795 modules/openid/openid.inc
  90. +0 −12 modules/openid/openid.info
  91. +0 −160 modules/openid/openid.install
  92. +0 −49 modules/openid/openid.js
  93. +0 −950 modules/openid/openid.module
  94. +0 −115 modules/openid/openid.pages.inc
  95. +0 −591 modules/openid/openid.test
  96. +0 −13 modules/openid/tests/openid_test.info
  97. +0 −17 modules/openid/tests/openid_test.install
  98. +0 −317 modules/openid/tests/openid_test.module
  99. BIN modules/overlay/images/background.png
  100. BIN modules/overlay/images/close-rtl.png
  101. BIN modules/overlay/images/close.png
  102. +0 −35 modules/overlay/overlay-child-rtl.css
  103. +0 −166 modules/overlay/overlay-child.css
  104. +0 −192 modules/overlay/overlay-child.js
  105. +0 −50 modules/overlay/overlay-parent.css
  106. +0 −991 modules/overlay/overlay-parent.js
  107. +0 −40 modules/overlay/overlay.api.php
  108. +0 −11 modules/overlay/overlay.info
  109. +0 −19 modules/overlay/overlay.install
  110. +0 −975 modules/overlay/overlay.module
  111. +0 −37 modules/overlay/overlay.tpl.php
  112. +0 −26 modules/poll/poll-bar--block.tpl.php
  113. +0 −26 modules/poll/poll-bar.tpl.php
  114. +0 −28 modules/poll/poll-results--block.tpl.php
  115. +0 −28 modules/poll/poll-results.tpl.php
  116. +0 −10 modules/poll/poll-rtl.css
  117. +0 −29 modules/poll/poll-vote.tpl.php
  118. +0 −51 modules/poll/poll.css
  119. +0 −13 modules/poll/poll.info
  120. +0 −206 modules/poll/poll.install
  121. +0 −1,012 modules/poll/poll.module
  122. +0 −97 modules/poll/poll.pages.inc
  123. +0 −784 modules/poll/poll.test
  124. +0 −107 modules/poll/poll.tokens.inc
  125. +0 −48 modules/shortcut/shortcut-rtl.css
  126. +0 −8 modules/shortcut/shortcut.admin.css
  127. +0 −770 modules/shortcut/shortcut.admin.inc
  128. +0 −99 modules/shortcut/shortcut.admin.js
  129. +0 −42 modules/shortcut/shortcut.api.php
  130. +0 −106 modules/shortcut/shortcut.css
  131. +0 −13 modules/shortcut/shortcut.info
  132. +0 −115 modules/shortcut/shortcut.install
  133. +0 −745 modules/shortcut/shortcut.module
  134. BIN modules/shortcut/shortcut.png
  135. +0 −346 modules/shortcut/shortcut.test
  136. +0 −274 modules/statistics/statistics.admin.inc
  137. +0 −13 modules/statistics/statistics.info
  138. +0 −158 modules/statistics/statistics.install
  139. +0 −427 modules/statistics/statistics.module
  140. +0 −91 modules/statistics/statistics.pages.inc
  141. +0 −444 modules/statistics/statistics.test
  142. +0 −63 modules/statistics/statistics.tokens.inc
  143. +0 −7 modules/tracker/tracker.css
  144. +0 −13 modules/tracker/tracker.info
  145. +0 −220 modules/tracker/tracker.install
  146. +0 −370 modules/tracker/tracker.module
  147. +0 −126 modules/tracker/tracker.pages.inc
  148. +0 −254 modules/tracker/tracker.test
  149. +0 −12 modules/translation/tests/translation_test.info
  150. +0 −13 modules/translation/tests/translation_test.module
  151. +0 −13 modules/translation/translation.info
  152. +0 −535 modules/translation/translation.module
  153. +0 −77 modules/translation/translation.pages.inc
  154. +0 −468 modules/translation/translation.test
  155. +0 −11 modules/trigger/tests/trigger_test.info
  156. +0 −133 modules/trigger/tests/trigger_test.module
  157. +0 −309 modules/trigger/trigger.admin.inc
  158. +0 −78 modules/trigger/trigger.api.php
  159. +0 −13 modules/trigger/trigger.info
  160. +0 −70 modules/trigger/trigger.install
  161. +0 −631 modules/trigger/trigger.module
  162. +0 −740 modules/trigger/trigger.test
View
49 README
@@ -1,30 +1,66 @@
+What?
+This is a "hollow out" approach style fork of Drupal 7.8.
+
+- Many functions will be lifted up as-is, and re-examined for more streamlining.
+- Many constants will be removed.
+- Many core modules will be removed.
+- A decent amount of the core concepts in Drupal will be maintained, as they are "best of breed" I believe.
+
+Why?
+- The mix of arrays and objects is messy.
+- The introduction of more OO code, and PHP 5.3 requirements on some contrib modules is starting to fragment the supportability and consistency throughout the project.
+- I think a few things can be done cleaner, and better. Also, it's a hobby. :)
+
Things to keep, for the most part:
- hook system
-- module extensibility
- form API
- drush style management
- entity/field idea (anything and everything can be a first-class citizen, and reference each other)
+ - field, field_ui, but also node (node would be merged into generic "entity" type nomenclature)
- user and access management
+ - may get confusing if users are managed as entities instead. perhaps userid -> entity reference is all it stores
- CSS/JS aggregation/compression
+- menu router configuration
+- pathing
+ - pathauto, for sure
+- views
+- filters (input and output), text formats
+- taxonomy
+- logging
+ - watchdog/dblog can be expensive and difficult to follow
Things to improve:
- everything should use .php extension (no more webserver "blocking" having to be done)
- file API
- cron access
-- "Content Type" -> "Entity" management
+- "Content Type" management should be "Entity" management
+- Comments and Users will be managed as entities
+ - comment should be removed from core
+- multi-site; currently is too flexible, probably too much overhead
+- module code living inside of the web root; ideally, it could live outside, with menu router items established
+ - javascript/css would be applied using the drupal_add_css() style approach, and using special scheme:// file URI
+- profiles and distributions
+- update
+ - make it work as well as a drush update works
+- rename functions like check_plain() and such to be more descriptive
Things to reduce:
- decrease file i/o
- less includes
- less file scanning "magic" - heavy caching
- build-in modules - slimmer micro-kernel
+- memory usage can grow large with a Drupal install; examine various ways to decrease memory usage, and CPU spikes
Things to remove:
- all objects (especially when it is only attributes)
- bad: ->
- bad: ::
- all OO
- PDO - remove PDO, but keep the idea of generic data access
+ - generic data access may be a v2 thing. might need to get back to basics first
+- built-in "core" modules: aggregator, blog, book, color, comment, contact, forum, openid, overlay, poll, profile, shortcut, statistics, tracker, translation, trigger
+ - some of these belong in "beefier" contributed modules
+ - the "core" should be lightweight and expose only the most optimized set of APIs, hooks, and functionality to extend upon
Standards:
- no PHP 5.3 specific code
@@ -49,3 +85,12 @@ Focus on the priorities and desires:
- usability
- web services
- fix services to use CRUD properly, and not require PUT/DELETE
+
+Things to ensure are in place:
+- testing framework
+- internationalization
+ - translation
+ - localization
+- pluggable authentication
+ - authmap isn't very well documented. perhaps something better or easier to understand can be implemented
+- module extensibility
@@ -1,34 +0,0 @@
-<?php
-
-/**
- * @file
- * Default theme implementation to present the source of the feed.
- *
- * The contents are rendered above feed listings when browsing source feeds.
- * For example, "example.com/aggregator/sources/1".
- *
- * Available variables:
- * - $source_icon: Feed icon linked to the source. Rendered through
- * theme_feed_icon().
- * - $source_image: Image set by the feed source.
- * - $source_description: Description set by the feed source.
- * - $source_url: URL to the feed source.
- * - $last_checked: How long ago the feed was checked locally.
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_feed_source()
- */
-?>
-<div class="feed-source">
- <?php print $source_icon; ?>
- <?php print $source_image; ?>
- <div class="feed-description">
- <?php print $source_description; ?>
- </div>
- <div class="feed-url">
- <em><?php print t('URL:'); ?></em> <a href="<?php print $source_url; ?>"><?php print $source_url; ?></a>
- </div>
- <div class="feed-updated">
- <em><?php print t('Updated:'); ?></em> <?php print $last_checked; ?>
- </div>
-</div>
@@ -1,45 +0,0 @@
-<?php
-
-/**
- * @file
- * Default theme implementation to format an individual feed item for display
- * on the aggregator page.
- *
- * Available variables:
- * - $feed_url: URL to the originating feed item.
- * - $feed_title: Title of the feed item.
- * - $source_url: Link to the local source section.
- * - $source_title: Title of the remote source.
- * - $source_date: Date the feed was posted on the remote source.
- * - $content: Feed item content.
- * - $categories: Linked categories assigned to the feed.
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_item()
- */
-?>
-<div class="feed-item">
- <h3 class="feed-item-title">
- <a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a>
- </h3>
-
- <div class="feed-item-meta">
- <?php if ($source_url) : ?>
- <a href="<?php print $source_url; ?>" class="feed-item-source"><?php print $source_title; ?></a> -
- <?php endif; ?>
- <span class="feed-item-date"><?php print $source_date; ?></span>
- </div>
-
-<?php if ($content) : ?>
- <div class="feed-item-body">
- <?php print $content; ?>
- </div>
-<?php endif; ?>
-
-<?php if ($categories) : ?>
- <div class="feed-item-categories">
- <?php print t('Categories'); ?>: <?php print implode(', ', $categories); ?>
- </div>
-<?php endif ;?>
-
-</div>
@@ -1,4 +0,0 @@
-
-#aggregator .feed-source .feed-icon {
- float: left;
-}
@@ -1,23 +0,0 @@
-<?php
-
-/**
- * @file
- * Default theme implementation to present a linked feed item for summaries.
- *
- * Available variables:
- * - $feed_url: Link to originating feed.
- * - $feed_title: Title of feed.
- * - $feed_age: Age of remote feed.
- * - $source_url: Link to remote source.
- * - $source_title: Locally set title for the source.
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_summary_item()
- */
-?>
-<a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a>
-<span class="age"><?php print $feed_age; ?></span>
-
-<?php if ($source_url) : ?>,
-<span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span>
-<?php endif; ?>
@@ -1,23 +0,0 @@
-<?php
-
-/**
- * @file
- * Default theme implementation to present feeds as list items.
- *
- * Each iteration generates a single feed source or category.
- *
- * Available variables:
- * - $title: Title of the feed or category.
- * - $summary_list: Unordered list of linked feed items generated through
- * theme_item_list().
- * - $source_url: URL to the local source or category.
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_summary_items()
- */
-?>
-<h3><?php print $title; ?></h3>
-<?php print $summary_list; ?>
-<div class="links">
- <a href="<?php print $source_url; ?>"><?php print t('More'); ?></a>
-</div>
@@ -1,18 +0,0 @@
-<?php
-
-/**
- * @file
- * Default theme implementation to wrap aggregator content.
- *
- * Available variables:
- * - $content: All aggregator content.
- * - $page: Pager links rendered through theme_pager().
- *
- * @see template_preprocess()
- * @see template_preprocess_aggregator_wrapper()
- */
-?>
-<div id="aggregator">
- <?php print $content; ?>
- <?php print $pager; ?>
-</div>
Oops, something went wrong.

0 comments on commit f1e1607

Please sign in to comment.