Commanding Chaos for Coworking, Open Source and Creative Communities

drupal8

Change notice: Introduce Plugin System to Core | drupal.org

Thu, 07/19/2012 - 05:51 -- rprice

Any module should be able to extend the system by providing additional thingies that can be chosen from, but at any given time, only the actually chosen one(s) should be invoked. For example, the Image module lets you create image styles by choosing from a set of image effects (scale, crop, rotate, desaturate, etc.). Any module can add more effects to the system. However, a particular image style is configured as a particular sequence of effects, and when it's time to generate an image of that style, the Image module wants to invoke just that particular sequence of effects.

drupaleasypodcast
drupal8

Author UX - Known problems | Bojhan Somers

Mon, 06/18/2012 - 08:44 -- rprice

Previewing is a big part of creating content, and people are currently very confused by preview being shown in the back-end instead of front-end.
The meta tools we present users; menu, revisioning, authoring information are cumbersome and often result to conflicting mental models.
Text formats are still somewhat of a mystery to most of our users, they miss a WYSIWYG editor.
The lack of a common workflows like save as draft is a disappointment.
Tools for moderating content are almost non existent, our filters are hard to use and search is non existent.

ux
drupaleasypodcast
drupal8

Proposal for fixing PHP namespacing in Drupal 8 | Blog post | Blue Droplet Media

Wed, 02/29/2012 - 06:32 -- rprice

Modules and themes (and engines) would have a namespace such as
namespace drupal\taxonomy;
or
namespace drupal\bartik;
Function prefixes, such as 'taxonomy_' would be dropped.
However, this makes Drupal code really ugly.
Calling functions not in a module from a module would look like this:
\drupal\set_message();
Calling a db function would look like this:
\drupaldb\select('node');
Calling an API function in another module would look like:
\drupal\taxonomy\select_nodes();
The solution? Namespace importing.

function
oop
drupaleasypodcast
drupal8
php
namespaces

Use PHP 5.3 namespaces | drupal.org

Wed, 02/29/2012 - 06:30 -- rprice

At the very least (if we are on PHP 5.3) we could have something like:

namespace drupal\dblog;
at the top of every file.

Files in the includes directory would have:

namespace drupal;
The only time 'drupal' would be seen in a function name would be when calling an API function in a different module, e.g.

\drupal\system\flush_caches();

oop
php
drupaleasypodcast
core
drupal8

Adopt PSR-0 namespace convention for core framework classes | drupal.org

Wed, 02/29/2012 - 06:06 -- rprice

1) We've been discussing how and if to leverage PHP namespaces in Drupal 8, now that we have access to them in PHP 5.3. To date most of the discussion has been on tricking out modules-as-namespace, a discussion that has stalled as it is a much more complicated problem space than it seems at first glance.

oop
php
drupaleasypodcast
core
drupal8

PHP: Using namespaces: Basics - Manual

Wed, 02/29/2012 - 06:05 -- rprice

There are three ways to access a file in a file system:

Relative file name like foo.txt. This resolves to currentdirectory/foo.txt where currentdirectory is the directory currently occupied. So if the current directory is /home/foo, the name resolves to /home/foo/foo.txt.
Relative path name like subdirectory/foo.txt. This resolves to currentdirectory/subdirectory/foo.txt.
Absolute path name like /main/foo.txt. This resolves to /main/foo.txt.

drupal8
core
php
drupaleasypodcast

The future is a RESTful Drupal | Dries Buytaert

Wed, 02/29/2012 - 06:04 -- rprice

After a good chunk of discussions, all were in agreement to scale back the scope of the initiative to just the "Web Services" piece, and spin off the Layout/blocks/related-UI parts to a separate effort.

Furthermore, some efforts, such as PSR-0 and Unified Plugin system, were only semi-related to the WSCCI initiative in the first place, and just happened to become relevant for it. Work on those efforts will continue as part of the general Framework community efforts.

symfony
context
core
drupal8
drupaleasypodcast

Pages

Subscribe to RSS - drupal8