02 Sep 2015

feedshare.ez.no > All forums (topics and replies)

Get object id from where object relations are added

In a content class i have added a object relations attribute. Lets say i have added obj-1 and obj-2 through this object relations. When i visit obj-1 or obj-2 in front end i want to know in which object or objects obj-1 or obj-2 was added through object relations. Is it possbile in ezpublish5 legacy?

02 Sep 2015 6:24am GMT

01 Sep 2015

feedshare.ez.no > All forums (topics and replies)

Re: eZPlatform-oriented bundle?

Thank you! Now I start to study...

01 Sep 2015 4:13pm GMT

feedDrupal.org aggregator

Red Crackle: Dependency Injection

If you are starting to learn about Drupal 8, you must have come across a term called "Dependency Injection". If you are wondering what it means, then this is the post you should read. Through examples, you will learn why dependency injection is useful for decoupling the code as well as unit testing effectively.

01 Sep 2015 2:06pm GMT

Wuinfo: Avoid Using the node_load_multiple API Function

In a large website with many nodes, stop using the node_load_multiple function. It potentially limits the site growing.

According to the document: "This function should be used whenever you need to load more than one node from the database." But, I want to say that we should avoid using this function as this open the door to system crash in the future.

I had written a blog before Design a Drupal website with a million nodes in mind. I had used this function as an example. It is true that node_load_multiple function enhance the performance. But, it comes with a price. When we load thousands of node into the memory, it exhausts the web server memory instantly. Then we get this infamous message: "Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate XYZ bytes) in ...".

This issue brought me to an attention when I am reading the code done by one of the well-known Drupal shops. In one of the recently launched high-profile project, the function is used to load all the show nodes in the system. It sounds to be troublesome to me at the beginning. We can not load all nodes if we are not sure how many it will be? Where there are a small amount of node in the system, that is fine. But if it is for a system there are over hundred thousand nodes, that is a big problem. As time goes by, we add more shows into the system; The utility function needs more memory to handle it. The physical memory limits the ability to add infinity show nodes into the system.

What is the best way to handle this situation? Avoid using the node_load_multiple function. If we have to use the node_load_multiple, limit the number of the node for node_load_multiple to load.

01 Sep 2015 12:26pm GMT

InternetDevels: Why and how to build a social shopping project with Drupal: case study

Why and how to build a social shopping project with Drupal: case study

Discover the post on social shopping projects in Drupal with some of the best secrets
of ecommerce website development for you ;)

Read more

01 Sep 2015 11:11am GMT

feedshare.ez.no > All forums (topics and replies)

Super CBD Making Us So Darn Fat

In this way coupling wellbeing tending reach most people accounting to Super CBD wellbeing work when they impoverishment it at not such private value consequently ensuring that each item soul testament be healthy to tell a wellbeing fixture provider out when e'er important. Universal alter league individuals who can't give inside eudaemonia desire can meet quit by.Universal upbeat mending can actually be specified by several of strategies mostly but a peak of you'll regain tips into spot to work indisputable it could direct if authorities in nation at the second industrial their protection policies.Visit it! To get more information >>>>>> http://www.healthcaresups.com/supercbd/

01 Sep 2015 10:27am GMT

25 Aug 2015

feedeZ News

eZ Conference: phase 3 of conference speakers announced


Subrata Mukherjee (Economist Digital) - Marketing campaign management and eCommerce in the subscription economy

For publishing companies content and commerce are both important and are key to its survival in the long run. In this discussion, we will discuss how these two areas are colliding more often and media companies need to have a consolidated strategy to move the needle of both these things together, rather than in silos.

We will look at trends in the market and how data is playing a key role in connecting the dots to make a deeper connection with the audience. Lastly we will briefly look at some of the things we are working on at The Economist and how eZ Publish Platform is part of that coordinated journey.

Denis Antipov (Hootsuite) - Building a self-serve content management system

Most Content Management Systems provide a set of tools and mechanisms to enable teams of content editors to create and publish new content onto the website. However, even the smallest marketing operations have custom needs and the basic templated content-creation approach has significant limits on creativity and quality of conversion-focused content.

At Hootsuite we've taken on implementing a content creation strategy that allows editors to configure and use reusable page components more flexibly and create brand new marketing campaigns without the help of developers. In this process a library of reusable responsive page blocks based on a web style guide has emerged that serves to be the cornerstone of the self-serve CMS. This talk will share some of the experiences of the process we went through.

Sébastien Morel (Novactive) - How to integrate FOSUSERBundle and eZ Platform to externalize users in MongoDB

As you all know Symfony2 is a core part of eZ Platform. This workshop will demonstrate how, with the eZ Platform, you can easily integrate a famous bundle, the FOSUserBundle, into a core feature of your eZ application, the user system. This integration will allow you to separate the user repository in MongoDB letting, eZ manage the views and the content as usual.

Dave Wieneke (ConnectiveDX) - Workshop: How ready is your organization to deliver great digital experiences? A walkthrough of the DX7 framework

Each touchpoint in your customer's journey is supported and influenced by distinct capabilities. ConnectiveDX uses the DX7 Assessment in our work to understand an organization's ability to achieve sustainable digital success. The framework covers seven essential digital experience competencies, from insight and vision to execution and optimization.

Still haven't purchased your eZ Conference tickets? What are you waiting for? Join us in New York!

25 Aug 2015 9:31pm GMT

eZ Conference: phase 3 of conference speakers announced


Subrata Mukherjee (Economist Digital) - Marketing campaign management and eCommerce in the subscription economy

For publishing companies content and commerce are both important and are key to its survival in the long run. In this discussion, we will discuss how these two areas are colliding more often and media companies need to have a consolidated strategy to move the needle of both these things together, rather than in silos.

We will look at trends in the market and how data is playing a key role in connecting the dots to make a deeper connection with the audience. Lastly we will briefly look at some of the things we are working on at The Economist and how eZ Publish Platform is part of that coordinated journey.

Denis Antipov (Hootsuite) - Building a self-serve content management system

Most Content Management Systems provide a set of tools and mechanisms to enable teams of content editors to create and publish new content onto the website. However, even the smallest marketing operations have custom needs and the basic templated content-creation approach has significant limits on creativity and quality of conversion-focused content.

At Hootsuite we've taken on implementing a content creation strategy that allows editors to configure and use reusable page components more flexibly and create brand new marketing campaigns without the help of developers. In this process a library of reusable responsive page blocks based on a web style guide has emerged that serves to be the cornerstone of the self-serve CMS. This talk will share some of the experiences of the process we went through.

Sébastien Morel (Novactive) - How to integrate FOSUSERBundle and eZ Platform to externalize users in MongoDB

As you all know Symfony2 is a core part of eZ Platform. This workshop will demonstrate how, with the eZ Platform, you can easily integrate a famous bundle, the FOSUserBundle, into a core feature of your eZ application, the user system. This integration will allow you to separate the user repository in MongoDB letting, eZ manage the views and the content as usual.

Dave Wieneke (ConnectiveDX) - Workshop: How ready is your organization to deliver great digital experiences? A walkthrough of the DX7 framework

Each touchpoint in your customer's journey is supported and influenced by distinct capabilities. ConnectiveDX uses the DX7 Assessment in our work to understand an organization's ability to achieve sustainable digital success. The framework covers seven essential digital experience competencies, from insight and vision to execution and optimization.

Still haven't purchased your eZ Conference tickets? What are you waiting for? Join us in New York!

25 Aug 2015 9:31pm GMT

eZ Conference: phase 3 of conference speakers announced


Subrata Mukherjee (Economist Digital) - Marketing campaign management and eCommerce in the subscription economy

For publishing companies content and commerce are both important and are key to its survival in the long run. In this discussion, we will discuss how these two areas are colliding more often and media companies need to have a consolidated strategy to move the needle of both these things together, rather than in silos.

We will look at trends in the market and how data is playing a key role in connecting the dots to make a deeper connection with the audience. Lastly we will briefly look at some of the things we are working on at The Economist and how eZ Publish Platform is part of that coordinated journey.

Denis Antipov (Hootsuite) - Building a self-serve content management system

Most Content Management Systems provide a set of tools and mechanisms to enable teams of content editors to create and publish new content onto the website. However, even the smallest marketing operations have custom needs and the basic templated content-creation approach has significant limits on creativity and quality of conversion-focused content.

At Hootsuite we've taken on implementing a content creation strategy that allows editors to configure and use reusable page components more flexibly and create brand new marketing campaigns without the help of developers. In this process a library of reusable responsive page blocks based on a web style guide has emerged that serves to be the cornerstone of the self-serve CMS. This talk will share some of the experiences of the process we went through.

Sébastien Morel (Novactive) - How to integrate FOSUSERBundle and eZ Platform to externalize users in MongoDB

As you all know Symfony2 is a core part of eZ Platform. This workshop will demonstrate how, with the eZ Platform, you can easily integrate a famous bundle, the FOSUserBundle, into a core feature of your eZ application, the user system. This integration will allow you to separate the user repository in MongoDB letting, eZ manage the views and the content as usual.

Dave Wieneke (ConnectiveDX) - Workshop: How ready is your organization to deliver great digital experiences? A walkthrough of the DX7 framework

Each touchpoint in your customer's journey is supported and influenced by distinct capabilities. ConnectiveDX uses the DX7 Assessment in our work to understand an organization's ability to achieve sustainable digital success. The framework covers seven essential digital experience competencies, from insight and vision to execution and optimization.

Still haven't purchased your eZ Conference tickets? What are you waiting for? Join us in New York!

25 Aug 2015 9:31pm GMT

eZ is hitting the road! Find us at one of these upcoming events.

Symfony events, 2015


- SymfonyLive London | Sept 17 to 18

On the 17 to 18 September 2015, over 300 engineers, developers and IT professionals will descend on Westminster for SymfonyLive London 2015, and this year they have something special in store. Get your tickets here, and be sure to visit them on Twitter and say hi with the official hashtag #symfony_live

- SymfonyLive Berlin | Oct 13 to 16

See their homepage for ticket information, a schedule of workshops and speakers, and the latest information on this year's Hack Day.

- SymfonyLive San Francisco | Oct 29 and 30

Visit their homepage for detailed information on workshops like "Mastering Symfony Forms" and "Symfony Best Practices." registration information available here.

- SymfonyCon Paris | Dec 3 to 5

SensioLabs is proud to organize the third edition of the SymfonyCon, the international Symfony conference.This year, to celebrate Symfony's 10th birthday, the conference is organized in Paris, Symfony's hometown. Complete info available at their homepage.


Dmexco | Cologne, Germany | Sept 16 and 17th

A "Digital Marketing and Exposition Conference," from their website:

"Under the motto "Bridging Worlds," dmexco will build key bridges to the digiconomy on September 16 and 17, 2015. In both parts of this global show of top performance - the Expo and the Conference - this year's dmexco will connect present and future business worlds, new business models, the Internet of Things, disruptive technologies, and extraordinary ideas that are especially relevant for marketing, the media, advertising, and customer communication.

The aim of dmexco 2015 is to offer all companies and partners the best possible strategies and approaches to solutions as we enter a new digital era. On the stage, in the halls, at the stands, and during a multitude of conversations, dmexco connects theory and practice. Forward-looking visions and innovations will be transformed at dmexco into concrete strategies and real-life business."

You can read more about their program here.

WAN IFRA expo | Hamburg, Germany | October 5 to 7

From WAN IFRA expo

"Learn.

Learn about the latest trends in news publishing at our Media Port open stages, on Innovation Tours and in workshops: discover innovative ideas and solutions for mobile, web, and print publishing in one place, at one event.

Lead.

Take the lead! Our strategy conferences offer an international angle to publishing with knowledge transfer and insights from publishers and CEOs unmatched by any other news industry event.

Launch.

Launch new projects and tap new revenue sources with the help of more than 200 exhibiting suppliers who offer products and services tailored to the news publishing industry's needs."

schedule here

FIPP World Congress | Toronto, Canada | October 12 to 16

Description from the FIPP World Congress website:

"The 2015 FIPP World Congress is the largest magazine media event in the world. Hear from the industry's top speakers and network with 800 members of consumer and B2B media from around the globe.

The industry's top speakers in a host sessions covering the very latest trends, developments and innovations in magazine media publishing. This event will also provide a platform upon which to network with 800 members of consumer and B2B media from around the globe, while hundreds of businesses will be on hand to demonstrate products and services that could help take your business to the next level. Outside of the conference, you will have the chance to relax and make contacts during a series of stunning excursions and events, ensuring you can relax while exploring opportunities for your brand. This year's event takes place in Toronto, home to nearly three-quarters of Canada's $2bn thriving magazine media industry - making it the perfect destination for the 2015 FIPP World Congress."

Check out the FIPP schedule here.

Webdagene | Oslo, Norway | October 21 to 23

According to their website:

"Webdagene has consolidated its position as Norway's most important web conference and was in 2014 arranged for the ninth time with 800 participants. In our tenth year, we expect to exceed 1000.

Webdagene offers presenters the world and is a conference for those who work with web and digital channels. Among the participants will find designers, editors, communications consultants, digital leaders, developers, marketers, content heads and many more.

Webdagene consists of one day of workshop, where you can choose between different themes. Followed by two conference days packed with content of high international standard. You can choose to attend the conference days on either October 22nd or 23rd. Webdagene organized by Netlife Research.

Check videos and pictures from Webdagene 2014."

25 Aug 2015 4:11pm GMT

eZ is hitting the road! Find us at one of these upcoming events.

Symfony events, 2015


- SymfonyLive London | Sept 17 to 18

On the 17 to 18 September 2015, over 300 engineers, developers and IT professionals will descend on Westminster for SymfonyLive London 2015, and this year they have something special in store. Get your tickets here, and be sure to visit them on Twitter and say hi with the official hashtag #symfony_live

- SymfonyLive Berlin | Oct 13 to 16

See their homepage for ticket information, a schedule of workshops and speakers, and the latest information on this year's Hack Day.

- SymfonyLive San Francisco | Oct 29 and 30

Visit their homepage for detailed information on workshops like "Mastering Symfony Forms" and "Symfony Best Practices." registration information available here.

- SymfonyCon Paris | Dec 3 to 5

SensioLabs is proud to organize the third edition of the SymfonyCon, the international Symfony conference.This year, to celebrate Symfony's 10th birthday, the conference is organized in Paris, Symfony's hometown. Complete info available at their homepage.


Dmexco | Cologne, Germany | Sept 16 and 17th

A "Digital Marketing and Exposition Conference," from their website:

"Under the motto "Bridging Worlds," dmexco will build key bridges to the digiconomy on September 16 and 17, 2015. In both parts of this global show of top performance - the Expo and the Conference - this year's dmexco will connect present and future business worlds, new business models, the Internet of Things, disruptive technologies, and extraordinary ideas that are especially relevant for marketing, the media, advertising, and customer communication.

The aim of dmexco 2015 is to offer all companies and partners the best possible strategies and approaches to solutions as we enter a new digital era. On the stage, in the halls, at the stands, and during a multitude of conversations, dmexco connects theory and practice. Forward-looking visions and innovations will be transformed at dmexco into concrete strategies and real-life business."

You can read more about their program here.

WAN IFRA expo | Hamburg, Germany | October 5 to 7

From WAN IFRA expo

"Learn.

Learn about the latest trends in news publishing at our Media Port open stages, on Innovation Tours and in workshops: discover innovative ideas and solutions for mobile, web, and print publishing in one place, at one event.

Lead.

Take the lead! Our strategy conferences offer an international angle to publishing with knowledge transfer and insights from publishers and CEOs unmatched by any other news industry event.

Launch.

Launch new projects and tap new revenue sources with the help of more than 200 exhibiting suppliers who offer products and services tailored to the news publishing industry's needs."

schedule here

FIPP World Congress | Toronto, Canada | October 12 to 16

Description from the FIPP World Congress website:

"The 2015 FIPP World Congress is the largest magazine media event in the world. Hear from the industry's top speakers and network with 800 members of consumer and B2B media from around the globe.

The industry's top speakers in a host sessions covering the very latest trends, developments and innovations in magazine media publishing. This event will also provide a platform upon which to network with 800 members of consumer and B2B media from around the globe, while hundreds of businesses will be on hand to demonstrate products and services that could help take your business to the next level. Outside of the conference, you will have the chance to relax and make contacts during a series of stunning excursions and events, ensuring you can relax while exploring opportunities for your brand. This year's event takes place in Toronto, home to nearly three-quarters of Canada's $2bn thriving magazine media industry - making it the perfect destination for the 2015 FIPP World Congress."

Check out the FIPP schedule here.

Webdagene | Oslo, Norway | October 21 to 23

According to their website:

"Webdagene has consolidated its position as Norway's most important web conference and was in 2014 arranged for the ninth time with 800 participants. In our tenth year, we expect to exceed 1000.

Webdagene offers presenters the world and is a conference for those who work with web and digital channels. Among the participants will find designers, editors, communications consultants, digital leaders, developers, marketers, content heads and many more.

Webdagene consists of one day of workshop, where you can choose between different themes. Followed by two conference days packed with content of high international standard. You can choose to attend the conference days on either October 22nd or 23rd. Webdagene organized by Netlife Research.

Check videos and pictures from Webdagene 2014."

25 Aug 2015 4:11pm GMT

eZ is hitting the road! Find us at one of these upcoming events.

Symfony events, 2015


- SymfonyLive London | Sept 17 to 18

On the 17 to 18 September 2015, over 300 engineers, developers and IT professionals will descend on Westminster for SymfonyLive London 2015, and this year they have something special in store. Get your tickets here, and be sure to visit them on Twitter and say hi with the official hashtag #symfony_live

- SymfonyLive Berlin | Oct 13 to 16

See their homepage for ticket information, a schedule of workshops and speakers, and the latest information on this year's Hack Day.

- SymfonyLive San Francisco | Oct 29 and 30

Visit their homepage for detailed information on workshops like "Mastering Symfony Forms" and "Symfony Best Practices." registration information available here.

- SymfonyCon Paris | Dec 3 to 5

SensioLabs is proud to organize the third edition of the SymfonyCon, the international Symfony conference.This year, to celebrate Symfony's 10th birthday, the conference is organized in Paris, Symfony's hometown. Complete info available at their homepage.


Dmexco | Cologne, Germany | Sept 16 and 17th

A "Digital Marketing and Exposition Conference," from their website:

"Under the motto "Bridging Worlds," dmexco will build key bridges to the digiconomy on September 16 and 17, 2015. In both parts of this global show of top performance - the Expo and the Conference - this year's dmexco will connect present and future business worlds, new business models, the Internet of Things, disruptive technologies, and extraordinary ideas that are especially relevant for marketing, the media, advertising, and customer communication.

The aim of dmexco 2015 is to offer all companies and partners the best possible strategies and approaches to solutions as we enter a new digital era. On the stage, in the halls, at the stands, and during a multitude of conversations, dmexco connects theory and practice. Forward-looking visions and innovations will be transformed at dmexco into concrete strategies and real-life business."

You can read more about their program here.

WAN IFRA expo | Hamburg, Germany | October 5 to 7

From WAN IFRA expo

"Learn.

Learn about the latest trends in news publishing at our Media Port open stages, on Innovation Tours and in workshops: discover innovative ideas and solutions for mobile, web, and print publishing in one place, at one event.

Lead.

Take the lead! Our strategy conferences offer an international angle to publishing with knowledge transfer and insights from publishers and CEOs unmatched by any other news industry event.

Launch.

Launch new projects and tap new revenue sources with the help of more than 200 exhibiting suppliers who offer products and services tailored to the news publishing industry's needs."

schedule here

FIPP World Congress | Toronto, Canada | October 12 to 16

Description from the FIPP World Congress website:

"The 2015 FIPP World Congress is the largest magazine media event in the world. Hear from the industry's top speakers and network with 800 members of consumer and B2B media from around the globe.

The industry's top speakers in a host sessions covering the very latest trends, developments and innovations in magazine media publishing. This event will also provide a platform upon which to network with 800 members of consumer and B2B media from around the globe, while hundreds of businesses will be on hand to demonstrate products and services that could help take your business to the next level. Outside of the conference, you will have the chance to relax and make contacts during a series of stunning excursions and events, ensuring you can relax while exploring opportunities for your brand. This year's event takes place in Toronto, home to nearly three-quarters of Canada's $2bn thriving magazine media industry - making it the perfect destination for the 2015 FIPP World Congress."

Check out the FIPP schedule here.

Webdagene | Oslo, Norway | October 21 to 23

According to their website:

"Webdagene has consolidated its position as Norway's most important web conference and was in 2014 arranged for the ninth time with 800 participants. In our tenth year, we expect to exceed 1000.

Webdagene offers presenters the world and is a conference for those who work with web and digital channels. Among the participants will find designers, editors, communications consultants, digital leaders, developers, marketers, content heads and many more.

Webdagene consists of one day of workshop, where you can choose between different themes. Followed by two conference days packed with content of high international standard. You can choose to attend the conference days on either October 22nd or 23rd. Webdagene organized by Netlife Research.

Check videos and pictures from Webdagene 2014."

25 Aug 2015 4:11pm GMT

20 Aug 2015

feedeZ News

How to get your idea onto the eZ blog

Whether you're a software architect with insights on deploying large scale content management projects, or a UX designer with a strong view on how to bridge user-centered design with agile multi-disciplinary development methods, or even a project manager or business owner in need of a soapbox, we want to hear from you.

We'd love to help your ideas reach a larger audience, whether you're thinking about CMS, open source, marketing or other tech-topics. First time writers and non-native English speakers are welcome. We can help you with your writing, so don't be bashful! And don't be afraid of pitching any idea; the only bad idea is not saying what you think.

Our only wish is that the story presents a unique vision that will resonate with eZ readers. So take a look at our blog for inspiration and feel free to think outside the box.

You can submit ideas or pitch your own story to the eZ blog contribution page.

We review all ideas and pitches within 3 business days. If for some reason we're slacking, please contact me at matthew.caprioli@ez.no.

20 Aug 2015 2:33pm GMT

How to get your idea onto the eZ blog

Whether you're a software architect with insights on deploying large scale content management projects, or a UX designer with a strong view on how to bridge user-centered design with agile multi-disciplinary development methods, or even a project manager or business owner in need of a soapbox, we want to hear from you.

We'd love to help your ideas reach a larger audience, whether you're thinking about CMS, open source, marketing or other tech-topics. First time writers and non-native English speakers are welcome. We can help you with your writing, so don't be bashful! And don't be afraid of pitching any idea; the only bad idea is not saying what you think.

Our only wish is that the story presents a unique vision that will resonate with eZ readers. So take a look at our blog for inspiration and feel free to think outside the box.

You can submit ideas or pitch your own story to the eZ blog contribution page.

We review all ideas and pitches within 3 business days. If for some reason we're slacking, please contact me at matthew.caprioli@ez.no.

20 Aug 2015 2:33pm GMT

How to get your idea onto the eZ blog

Whether you're a software architect with insights on deploying large scale content management projects, or a UX designer with a strong view on how to bridge user-centered design with agile multi-disciplinary development methods, or even a project manager or business owner in need of a soapbox, we want to hear from you.

We'd love to help your ideas reach a larger audience, whether you're thinking about CMS, open source, marketing or other tech-topics. First time writers and non-native English speakers are welcome. We can help you with your writing, so don't be bashful! And don't be afraid of pitching any idea; the only bad idea is not saying what you think.

Our only wish is that the story presents a unique vision that will resonate with eZ readers. So take a look at our blog for inspiration and feel free to think outside the box.

You can submit ideas or pitch your own story to the eZ blog contribution page.

We review all ideas and pitches within 3 business days. If for some reason we're slacking, please contact me at matthew.caprioli@ez.no.

20 Aug 2015 2:33pm GMT

09 Nov 2011

feedPlanet Zope.org

Updated MiniPlanet, now with meta-feed

My MiniPlanet Zope product has been working steady and stable for some years, when suddenly a user request came along. Would it be possible to get a feed of all the items in a miniplanet? With this update it became possible. MiniPlanet is an old-styl...

09 Nov 2011 9:41am GMT

07 Nov 2011

feedPlanet Zope.org

Welcome to Betabug Sirius

It has been quite some time that I announced_ that I'd be working as a freelancer. Lots of stuff had to be done in that time, but finally things are ready. I've founded my own little company and set up a small website: Welcome to Betabug Sirius!

07 Nov 2011 9:26am GMT

03 Nov 2011

feedPlanet Zope.org

Assertion helper for zope.testbrowser and unittest

zope.testbrowser is a valuable tool for integration tests. Historically, the Zope community used to write quite a lot of doctests, but we at gocept have found them to be rather clumsy and too often yielding neither good tests nor good documentation. That's why we don't use doctest much anymore, and prefer plain unittest.TestCases instead. However, doctest has one very nice feature, ellipsis matching, that is really helpful for checking HTML output, since you can only make assertions about the parts that interest you. For example, given this kind of page:

>>> print browser.contents
<html>
  <head>
    <title>Simple Page</title>
  </head>
  <body>
    <h1>Simple Page</h1>
  </body>
</html>

If all you're interested in is that the <h1> is rendered properly, you can simply say:

>>> print browser.contents
<...<h1>Simple Page</h1>...

We've now ported this functionality to unittest, as assertEllipsis, in gocept.testing. Some examples:

self.assertEllipsis('...bar...', 'foo bar qux')
# -> nothing happens

self.assertEllipsis('foo', 'bar')
# -> AssertionError: Differences (ndiff with -expected +actual):
     - foo
     + bar

self.assertNotEllipsis('foo', 'foo')
# -> AssertionError: "Value unexpectedly matches expression 'foo'."

To use it, inherit from gocept.testing.assertion.Ellipsis in addition to unittest.TestCase.


03 Nov 2011 7:19am GMT

13 Oct 2011

feedshare.ez.no > Articles and Tutorials

Building native mobile applications with the eZ Publish REST API

eZ Publish is a Web Content Management System that provides a platform to publish content via any channel. Its powerful presentation engine enables you to create websites and pages that display your content in a variety of renderings. Its powerful API directly and simply integrates your content with any web-enabled application on any device, such as the iPad, iPhone, or an Android device, without ever interfering with, or impacting the platform itself.

At the end of this tutorial, you will have learnt the basics of mobile application development for both iOS and Android platforms, consuming content from eZ Publish. CMS-side adjustments for the mobile channel will be acquired too. This cheatsheet will help you leverage the multichannel capabilities of eZ Publish, and its REST API in future projects, in a more systematic fashion.

13 Oct 2011 2:21pm GMT

16 Aug 2011

feedshare.ez.no > Articles and Tutorials

Image Maps in ezwebin Banners

Beginners guide for learning how to use image maps in the ezwebin extension.

16 Aug 2011 12:40pm GMT

07 Jul 2011

feedshare.ez.no > Articles and Tutorials

Building mobile browser and hybrid applications with eZ Publish

eZ Publish is a Web Content Management System that provides a platform to publish content via any channel. Its powerful presentation engine enables you to create websites and pages that display your content in a variety of renderings. Its powerful API directly and simply integrates your content with any web-enabled application on any device, such as the iPad, iPhone, or an Android device, without ever interfering with, or impacting the platform itself.

At the end of this tutorial, you will have learnt the basics of mobile application development for both iOS and Android platforms, consuming content from eZ Publish. CMS-side adjustments for the mobile channel will be acquired too. This cheatsheet will help you leverage the multichannel capabilities of eZ Publish, and its REST API in future projects, in a more systematic fashion.

07 Jul 2011 1:29pm GMT