Drupal Feeds

Flickr: Free Drupal 7 theme #drupal_12520

Feeds from Drupal.org - Thu, 2014-06-12 12:09

Free-Templates.lt posted a photo:

Free Drupal 7 theme #drupal_12520

via Free-Templates.lt - Free Drupal, Wordpress, Joomla themes bit.ly/1mLSjWx FREE-TEMPLATES.LT

Categories: Straight From Drupal

Drupal Watchdog: Object Oriented Programming 101

Planet Drupal - Thu, 2014-06-12 12:04

Drupal 8 is in hot development, with this massive release expected [soon]. Among other changes, Drupal 8 represents the first Drupal release to fully embrace the potential of object-oriented programming made possible by more recent versions of PHP. (Drupal 7 merely dipped its toes in the proverbial water.) However, after a decade as a procedural application with procedurally-minded developers, the transition from an all-procedural to a mixed object-oriented/procedural system is likely to be bumpy, especially for developers who are still new to object-oriented code.

While a complete treatment of the entirety of object-oriented programming (OOP) would more than fill this entire magazine, a firm grounding in the concepts and syntax of OOP should fit in just a few pages. Shall we have a go at it?

First, an Aside

There is no one true form of OOP. Many different languages have implemented something they called OOP in vastly different ways, sometimes missing features considered common in other languages. Javascript, for instance, has objects that have little similarity to objects in PHP. For now we are considering only “classic” OOP (that is, those involving classes), and PHP in particular. Most of it would apply to any C-family language as well (C++, Java, C#, etc.).

Data Types

To understand what an object is, let’s first understand what came before it. Consider a string. A string is a data type, a definition of a certain type of data. Certain types of data have operations that may be performed on them, to either change them or get information about them. strlen(), for instance, retrieves the length of a string. For another data type, however, such as integer, that operation doesn’t apply but division does.

A large part of the underlying power of OOP is that it allows you to define your own custom data types. These data types are called classes. A class has some internal structure, but just as the implementation details of strings are not your concern, the implementation details of a class should be irrelevant to someone using it. A class consists of properties and methods. Consider:

Drupal Watchdog: Object Oriented Programming 101

Feeds from Drupal.org - Thu, 2014-06-12 12:04

Drupal 8 is in hot development, with this massive release expected [soon]. Among other changes, Drupal 8 represents the first Drupal release to fully embrace the potential of object-oriented programming made possible by more recent versions of PHP. (Drupal 7 merely dipped its toes in the proverbial water.) However, after a decade as a procedural application with procedurally-minded developers, the transition from an all-procedural to a mixed object-oriented/procedural system is likely to be bumpy, especially for developers who are still new to object-oriented code.

While a complete treatment of the entirety of object-oriented programming (OOP) would more than fill this entire magazine, a firm grounding in the concepts and syntax of OOP should fit in just a few pages. Shall we have a go at it?

First, an Aside

There is no one true form of OOP. Many different languages have implemented something they called OOP in vastly different ways, sometimes missing features considered common in other languages. Javascript, for instance, has objects that have little similarity to objects in PHP. For now we are considering only “classic” OOP (that is, those involving classes), and PHP in particular. Most of it would apply to any C-family language as well (C++, Java, C#, etc.).

Data Types

To understand what an object is, let’s first understand what came before it. Consider a string. A string is a data type, a definition of a certain type of data. Certain types of data have operations that may be performed on them, to either change them or get information about them. strlen(), for instance, retrieves the length of a string. For another data type, however, such as integer, that operation doesn’t apply but division does.

A large part of the underlying power of OOP is that it allows you to define your own custom data types. These data types are called classes. A class has some internal structure, but just as the implementation details of strings are not your concern, the implementation details of a class should be irrelevant to someone using it. A class consists of properties and methods. Consider:

Categories: Straight From Drupal

Sina Salek Official Site: NEW Drupal Module : Entity Soft Delete (Entity Recyclebin/Trashbin)

Planet Drupal - Thu, 2014-06-12 09:56

In multi user systems, it's usually much safer not to let users change the contents entirely in case there was a mistake or when it was needed to know what has changed by whom and revert the change if required. Drupal supports content revisioning and there are already some contributed modules that exploit this extremely useful feature like revisioning. However when it comes to content deletion, revision system can no longer be used because when a content is deleted, it gets removed from database entirely including all its revisions.

Entity soft delete module has been developed to address this limitation.

read more

Sina Salek Official Site: NEW Drupal Module : Entity Soft Delete (Entity Recyclebin/Trashbin)

Feeds from Drupal.org - Thu, 2014-06-12 09:56

In multi user systems, it's usually much safer not to let users change the contents entirely in case there was a mistake or when it was needed to know what has changed by whom and revert the change if required. Drupal supports content revisioning and there are already some contributed modules that exploit this extremely useful feature like revisioning. However when it comes to content deletion, revision system can no longer be used because when a content is deleted, it gets removed from database entirely including all its revisions.

Entity soft delete module has been developed to address this limitation.

read more

Categories: Straight From Drupal

Entity Soft Delete

Latest Drupal Modules - Thu, 2014-06-12 08:26

Provides soft-deletion/trash bin functionality for Drupal. Content (node/comments/taxonomies/etc) is "soft-deleted" instead of deleted outright, and can be retained for a configurable span of time before being permanently purged. All this is opaque to end-users as all soft-deleted content is pervasively hidden from them, but administrators can access and restore soft-deleted content when necessary.

Categories: Straight From Drupal

Views calc distinct

Latest Drupal Modules - Thu, 2014-06-12 08:04

Views calc doesn't calculate correct values if used in a view with one ore more relationships that will create multiple rows in the result which are limited by a distinct setting. If the query is set to "distinct" the calculation will add the total calculation of all queries even for rows that are hidden by the distinct statement. This behaviour in general is correct from a queryie's point of view but it will not match the customer's expectation.

Categories: Straight From Drupal

Drupalize.Me: Drupal 8 External Libraries Galore!

Planet Drupal - Thu, 2014-06-12 06:50

There are lots of goodies coming in Drupal 8. A lot of work has gone into bring Drupal up to modern web standards. In addition to digging into Drupal-specific problems, a lot of work has gone into removing some of the custom overhead we have by incorporating a number of external libraries—that is, code that other communities have created and maintain, and does not live on Drupal.org. Adding external libraries means that we are working with these other open source communities to maintain our code, and that lets us focus on the Drupalisms we need, instead of re-inventing the wheel all over the place. This is the biggest growth for exernal libraries that we've ever seen, and I decided to take a look at what we have in core now.

Drupalize.Me: Drupal 8 External Libraries Galore!

Feeds from Drupal.org - Thu, 2014-06-12 06:50

There are lots of goodies coming in Drupal 8. A lot of work has gone into bring Drupal up to modern web standards. In addition to digging into Drupal-specific problems, a lot of work has gone into removing some of the custom overhead we have by incorporating a number of external libraries—that is, code that other communities have created and maintain, and does not live on Drupal.org. Adding external libraries means that we are working with these other open source communities to maintain our code, and that lets us focus on the Drupalisms we need, instead of re-inventing the wheel all over the place. This is the biggest growth for exernal libraries that we've ever seen, and I decided to take a look at what we have in core now.

Categories: Straight From Drupal

DrupalCon Amsterdam: Send In Your Session, Training, and Scholarship submissions by Friday

Planet Drupal - Thu, 2014-06-12 06:00

Rumor from across the pond has it that DrupalCon Austin was a great time! DrupalCon Amsterdam is next, and we’re trying match the success of Austin… but for that, we’re going to need your help.

Submit your your best sessions ideas by Friday, 13 June by midnight - that’s tomorrow! The same thing goes for training sessions and scholarship/grant applications. The deadline is coming up quickly, so make sure you send in your submissions before it’s too late. (Psst.... grab some karma and spread the word!)

DrupalCon wouldn’t be what it is without the community, which is why we have scholarships and grants.. If you want to come to DrupalCon Amsterdam but can’t afford some or all of the trip, apply by Friday for financial aid and tell us why you need to be in Amsterdam and hopefully we can help you out!

Lastly, DrupalCon is a great place to gain Drupal knowledge and experience. That couldn’t happen without training, so make sure that you submit your training proposals and opportunities for the European Drupal community. Again, this is all due on Friday, 13 June.

To recap, got a great idea for a session, training, or need help coming to Amsterdam? Make sure you submit by Friday at 23:59 Amsterdam local time! We’ll be making big announcements the first two weeks of June. Don't worry, for those not selected to present or not granted a scholarship, the earlybird ticket rate extends until 11 July.

See you in Amsterdam!

DrupalCon Amsterdam: Send In Your Session, Training, and Scholarship submissions by Friday

Feeds from Drupal.org - Thu, 2014-06-12 06:00

Rumor from across the pond has it that DrupalCon Austin was a great time! DrupalCon Amsterdam is next, and we’re trying match the success of Austin… but for that, we’re going to need your help.

Submit your your best sessions ideas by Friday, 13 June by midnight - that’s tomorrow! The same thing goes for training sessions and scholarship/grant applications. The deadline is coming up quickly, so make sure you send in your submissions before it’s too late. (Psst.... grab some karma and spread the word!)

DrupalCon wouldn’t be what it is without the community, which is why we have scholarships and grants.. If you want to come to DrupalCon Amsterdam but can’t afford some or all of the trip, apply by Friday for financial aid and tell us why you need to be in Amsterdam and hopefully we can help you out!

Lastly, DrupalCon is a great place to gain Drupal knowledge and experience. That couldn’t happen without training, so make sure that you submit your training proposals and opportunities for the European Drupal community. Again, this is all due on Friday, 13 June.

To recap, got a great idea for a session, training, or need help coming to Amsterdam? Make sure you submit by Friday at 23:59 Amsterdam local time! We’ll be making big announcements the first two weeks of June. Don't worry, for those not selected to present or not granted a scholarship, the earlybird ticket rate extends until 11 July.

See you in Amsterdam!

Categories: Straight From Drupal

Code Drop: Continuous Integration with Drupal

Planet Drupal - Thu, 2014-06-12 02:55

Continuous integration is a hot topic across the web right now and most conferences have at least a few devops talks that touch on CI and build tools. They usually go something along the lines of, use Phing with Jenkins and touch on the fact that Jenkins used to be called Hudson, has been around for ever and has a plugin for just about everything. I’m not going to mention Jenkins as we explore a few hosted CI solutions.

Hosting Your Own CI Server

Managing any server is a timely process and a CI server is no different. Those Jenkins plugins don’t configure themselves. Smalls teams like ours don’t have the resources to commit to managing infrastructure and that is pretty scary when you’re talking about such a crucial aspect of the business.

We’ve recently moved to a hosted continuous integration platform and below I’ve summarised the R&D I did before we made the big move.

Code Drop: Continuous Integration with Drupal

Feeds from Drupal.org - Thu, 2014-06-12 02:55

Continuous integration is a hot topic across the web right now and most conferences have at least a few devops talks that touch on CI and build tools. They usually go something along the lines of, use Phing with Jenkins and touch on the fact that Jenkins used to be called Hudson, has been around for ever and has a plugin for just about everything. I’m not going to mention Jenkins as we explore a few hosted CI solutions.

Hosting Your Own CI Server

Managing any server is a timely process and a CI server is no different. Those Jenkins plugins don’t configure themselves. Smalls teams like ours don’t have the resources to commit to managing infrastructure and that is pretty scary when you’re talking about such a crucial aspect of the business.

We’ve recently moved to a hosted continuous integration platform and below I’ve summarised the R&D I did before we made the big move.

Categories: Straight From Drupal

Urban Insight: Location-Based Alerts Using iOS, Gimbal and Drupal

Planet Drupal - Thu, 2014-06-12 02:54

When you next visit the Los Angeles County Museum of Art and have LACMA's iOS app installed, you'll be greeted with an alert welcoming you. As you tour the campus, occasional pop-up notifications within the app will alert you to featured museum activities, exhibitions and attractions. These alerts provide visitors with personalized and hopefully relevant notifications based on your location within the museum.

Search API Sorts Widget

Latest Drupal Modules - Wed, 2014-06-11 23:00

Provides a select/dropdown form-based widget for Search API Sorts.

Uses separate labels for ascending and descending.

Supports javascript autosubmit.

SETUP:

Categories: Straight From Drupal

DrupalCon Amsterdam: We're in the final week for submitting a session for DrupalCon Amsterdam and we want to hear from you!

Planet Drupal - Wed, 2014-06-11 21:37

We've got a shiny new track this year focusing on PHP, and we're looking for great speakers that can cover topics that help Drupalists to be better PHP developers and feel more confident around new concepts and techniques that will impact our performance as developers.

Drupal 8 is will be the major topic for the Coding and Development track. But we're not only looking for Drupal or Drupal 8 content. As developers, we need to be up to date on the best practices and industry standards, so sessions on behavioral development, testing and software design, among others, will be closely considered.

Pedro Cambra, Larry Garfield and Cameron Tod will be happy to answer any questions you might have regarding the submission and selection processes. Do you have knowledge to share with the community? Go ahead and submit your session!

DrupalCon Amsterdam: We're in the final week for submitting a session for DrupalCon Amsterdam and we want to hear from you!

Feeds from Drupal.org - Wed, 2014-06-11 21:37

We've got a shiny new track this year focusing on PHP, and we're looking for great speakers that can cover topics that help Drupalists to be better PHP developers and feel more confident around new concepts and techniques that will impact our performance as developers.

Drupal 8 is will be the major topic for the Coding and Development track. But we're not only looking for Drupal or Drupal 8 content. As developers, we need to be up to date on the best practices and industry standards, so sessions on behavioral development, testing and software design, among others, will be closely considered.

Pedro Cambra, Larry Garfield and Cameron Tod will be happy to answer any questions you might have regarding the submission and selection processes. Do you have knowledge to share with the community? Go ahead and submit your session!

Categories: Straight From Drupal

Flickr: 8X Supertheme – Onepage PSD Template (PSD Templates)

Feeds from Drupal.org - Wed, 2014-06-11 21:03

sayasatria posted a photo:

8X Supertheme – Onepage PSD Template (PSD Templates)

8X Supertheme – Onepage PSD Template (PSD Templates) - ift.tt/1mJ2Kdr

Categories: Straight From Drupal

Exaltation of Larks: Everybody Loves Friday5: The Crowdfunding Platform for Nonprofits

Planet Drupal - Wed, 2014-06-11 21:01

Friday5 Exaltation of Larks is proud to work with Friday5, a Los Angeles startup we think is worth paying attention to. Friday5 is an innovative crowd-funding platform that helps take the guesswork out of finding worthy causes and making tax-deductible donations.

Members who sign up at Friday5.org enter their credit card information, select the amount they want to donate to a nonprofit each week, and then receive a weekly email detailing which cause Friday5 has carefully curated for that week’s crowd-funded donation.

In short, Friday5 is helping change the world — one Friday at a time — and they’ve been praised in publications such as Forbes and PandoDaily.

Exaltation of Larks has worked with many nonprofits over the years but the opportunity to work together with Friday5 and support a new nonprofit each and every week was one we couldn’t pass up.

The role that we have with Friday5 is twofold: we provide the technical expertise and project management needed for Friday5’s online operations, and Christefano Reyes, an executive at Exaltation of Larks, serves on the Friday5 board and helps guide and advise the technical direction for the company. “Exaltation of Larks has a long history of working with both startups and with cause-based organizations,” Christefano said, “and our work with Friday5 has been a a great match for both companies.”

IDENTIFYING FRIDAY5’s NEEDS

Our collaboration with Friday5 began in 2013, when Friday5 founder Mike Berman found himself needing a team to help maintain Friday5.org, implement features requested by Friday5’s partners, and prepare for growth.

Friday5 home page

When Friday5’s lead developer left the company, Mike began looking for someone new. After a month of searching for a new team, he reached out to Ben Stewart at ShareMagnet, another Los Angeles startup that Exaltation of Larks has worked with and has a 1st-degree connection. “From day one, we’ve felt that we’ve been in great hands with Larks,” Mike says. “They quickly and accurately assessed our needs, and we’ve been more than impressed with their work.”

OUR SOLUTION

Friday5’s site hadn’t been updated for several months by the time Exaltation of Larks came on board. We performed our standard site audit and included a security review.

The results of our site audit identified several technical issues that needed to be addressed, from server maintenance and security issues to general bug fixes and ways to streamline and optimize the payment process. We also performed a business assessment and documented the platform and its systems and helped Friday5 plan for its next phase.

Recognizing the need to ensure that Friday5 had as seamless a transition to our services as possible, we worked with Friday5’s former lead developer over the course of several meetings to perform site discovery and produce all related documentation.

Managed Hosting
The payment gateway Friday5 uses, Network for Good, requires its customers’ servers to have a fixed IP address. This eliminates the option of using some grid and cloud hosting platforms. While the hosting costs at the time were higher than necessary, we advised against migrating to a new server environment. The transition cost of migrating to a new server or webhost were greater than the immediate short-term benefits.

Fortunately, their webhost changed its pricing options in April, 2014, and is now much more affordable. By using our server administration tools and our familiarity with the Friday5.org website and systems, we were able to build a completely new server infrastructure and fully migrate the Drupal site to it in less than 30 minutes.

As part of our managed hosting services, we provide Friday5 with rock solid backup and disaster recovery services. Systems we’ve implemented create backups of the database and codebase and these are regularly saved to a number of locations, including Amazon S3. Together with the documentation we’ve compiled for Friday5, we help ensure Friday5’s business continuity.

Network for Good
Network for Good is a specialty payment gateway set up to provide services to nonprofits. Exaltation of Larks maintains the Network for Good integration module that connect Drupal sites with Network for Good’s API, and has shared this module with the larger Drupal developer community. “We contributed this module during the code sprint at a Drupal Coworking Friday,” Christefano said. “These events combine mini code sprints and free coworking days and are a great way for us to mentor other Drupal developers.”

Friday5 mobile interface Data-Driven Development
When joining the project, we immediately documented Friday5’s systems and features that existed at that moment in time. This gave us a clear starting point for developing the product’s roadmap.

Our project planning for the next phase of feature development uses a data-driven approach. The features we’ve developed so far include better reporting tools to measure key indicators and enable business decisions on critical issues and opportunities. We’re expanding this to allow for more clarity in the day to day management of the organization, as well as insight for future planning.

Support and Maintenance
Exaltation of Larks performs ongoing maintenance and support for Friday5. These services give Friday5 the comprehensive coverage they need, from basic maintenance to emergency support. For example, the Friday5 website had an issue when the company was in the middle of an important business meeting. Friday5 used our emergency support system and the issue was resolved within the hour.

PROJECT OUTCOME

Exaltation of Larks has given Friday5 solid footing in the area it most needed it: technical leadership and support. We continue to act as a technical resource for Friday5, advising Mike and his team on the company’s infrastructure for growth. “With Larks,” Mike said, “we have instant access to great programmers, and we only pay for what we need. As we grow, we’ll need more development time and expertise — Larks has us completely covered.”

We are proud to see Friday5 succeeding in the market and see Friday5 as an important addition to the Los Angeles startup landscape — and also the national nonprofit landscape. Friday5 has proven to be a pioneer in crowd-funded charity giving. Indeed, about 6 months after Friday5 launched, Google effectively validated Friday5’s business model by introducing One Today, in which users donate $1 per cause per day using a system very similar to Friday5’s — including Network for Good integration.

read more

Exaltation of Larks: Everybody Loves Friday5: The Crowdfunding Platform for Nonprofits

Feeds from Drupal.org - Wed, 2014-06-11 21:01

Friday5 Exaltation of Larks is proud to work with Friday5, a Los Angeles startup we think is worth paying attention to. Friday5 is an innovative crowd-funding platform that helps take the guesswork out of finding worthy causes and making tax-deductible donations.

Members who sign up at Friday5.org enter their credit card information, select the amount they want to donate to a nonprofit each week, and then receive a weekly email detailing which cause Friday5 has carefully curated for that week’s crowd-funded donation.

In short, Friday5 is helping change the world — one Friday at a time — and they’ve been praised in publications such as Forbes and PandoDaily.

Exaltation of Larks has worked with many nonprofits over the years but the opportunity to work together with Friday5 and support a new nonprofit each and every week was one we couldn’t pass up.

The role that we have with Friday5 is twofold: we provide the technical expertise and project management needed for Friday5’s online operations, and Christefano Reyes, an executive at Exaltation of Larks, serves on the Friday5 board and helps guide and advise the technical direction for the company. “Exaltation of Larks has a long history of working with both startups and with cause-based organizations,” Christefano said, “and our work with Friday5 has been a a great match for both companies.”

IDENTIFYING FRIDAY5’s NEEDS

Our collaboration with Friday5 began in 2013, when Friday5 founder Mike Berman found himself needing a team to help maintain Friday5.org, implement features requested by Friday5’s partners, and prepare for growth.

Friday5 home page

When Friday5’s lead developer left the company, Mike began looking for someone new. After a month of searching for a new team, he reached out to Ben Stewart at ShareMagnet, another Los Angeles startup that Exaltation of Larks has worked with and has a 1st-degree connection. “From day one, we’ve felt that we’ve been in great hands with Larks,” Mike says. “They quickly and accurately assessed our needs, and we’ve been more than impressed with their work.”

OUR SOLUTION

Friday5’s site hadn’t been updated for several months by the time Exaltation of Larks came on board. We performed our standard site audit and included a security review.

The results of our site audit identified several technical issues that needed to be addressed, from server maintenance and security issues to general bug fixes and ways to streamline and optimize the payment process. We also performed a business assessment and documented the platform and its systems and helped Friday5 plan for its next phase.

Recognizing the need to ensure that Friday5 had as seamless a transition to our services as possible, we worked with Friday5’s former lead developer over the course of several meetings to perform site discovery and produce all related documentation.

Managed Hosting
The payment gateway Friday5 uses, Network for Good, requires its customers’ servers to have a fixed IP address. This eliminates the option of using some grid and cloud hosting platforms. While the hosting costs at the time were higher than necessary, we advised against migrating to a new server environment. The transition cost of migrating to a new server or webhost were greater than the immediate short-term benefits.

Fortunately, their webhost changed its pricing options in April, 2014, and is now much more affordable. By using our server administration tools and our familiarity with the Friday5.org website and systems, we were able to build a completely new server infrastructure and fully migrate the Drupal site to it in less than 30 minutes.

As part of our managed hosting services, we provide Friday5 with rock solid backup and disaster recovery services. Systems we’ve implemented create backups of the database and codebase and these are regularly saved to a number of locations, including Amazon S3. Together with the documentation we’ve compiled for Friday5, we help ensure Friday5’s business continuity.

Network for Good
Network for Good is a specialty payment gateway set up to provide services to nonprofits. Exaltation of Larks maintains the Network for Good integration module that connect Drupal sites with Network for Good’s API, and has shared this module with the larger Drupal developer community. “We contributed this module during the code sprint at a Drupal Coworking Friday,” Christefano said. “These events combine mini code sprints and free coworking days and are a great way for us to mentor other Drupal developers.”

Friday5 mobile interface Data-Driven Development
When joining the project, we immediately documented Friday5’s systems and features that existed at that moment in time. This gave us a clear starting point for developing the product’s roadmap.

Our project planning for the next phase of feature development uses a data-driven approach. The features we’ve developed so far include better reporting tools to measure key indicators and enable business decisions on critical issues and opportunities. We’re expanding this to allow for more clarity in the day to day management of the organization, as well as insight for future planning.

Support and Maintenance
Exaltation of Larks performs ongoing maintenance and support for Friday5. These services give Friday5 the comprehensive coverage they need, from basic maintenance to emergency support. For example, the Friday5 website had an issue when the company was in the middle of an important business meeting. Friday5 used our emergency support system and the issue was resolved within the hour.

PROJECT OUTCOME

Exaltation of Larks has given Friday5 solid footing in the area it most needed it: technical leadership and support. We continue to act as a technical resource for Friday5, advising Mike and his team on the company’s infrastructure for growth. “With Larks,” Mike said, “we have instant access to great programmers, and we only pay for what we need. As we grow, we’ll need more development time and expertise — Larks has us completely covered.”

We are proud to see Friday5 succeeding in the market and see Friday5 as an important addition to the Los Angeles startup landscape — and also the national nonprofit landscape. Friday5 has proven to be a pioneer in crowd-funded charity giving. Indeed, about 6 months after Friday5 launched, Google effectively validated Friday5’s business model by introducing One Today, in which users donate $1 per cause per day using a system very similar to Friday5’s — including Network for Good integration.

read more

Categories: Straight From Drupal

Pages

Subscribe to My Drupal aggregator