I've downloaded Zend framework, but the ZEND_JABBER library isn't included. How can I download it? (http://framework.zend.com/wiki/pages/viewpage.action?pageId=30641)
That page is a proposal for a class for ZF but it doesn't appear to have ever been completed. It never was part of ZF 1 anyway. There don't appear to be any packages for ZF2 that handle Jabber at the moment either. The code for that proposal is available on google code but hasn't been changed since 2007 and may be incomplete.
xmpphp looks like a promising library for xmpp as does JAXL. There are also many other php jabber clients that should all work with your ZF app.
Related
Hopefully someone can help me, I'm new to EPiServer and have been given a data migration task. We are using the latest version 8.5. I need to migrate content from a clients home grown CMS (that luckily is in a tree like structure) to EPiServer. There doesn't seem to be a whole lot of information about this on the web - perhaps I just don't know the right thing to search for.
It looks like using the EPiServer.ServiceApi might be the route to go but again locating useful documentation is proving difficult.
I was thinking of setting up the client CMS in SQL Server and writing a simple console application to call the EPiServer.ServiceApi inserting the content. If anyone has any information on this or better still and example i would be very grateful.
Thanks,
Dan
If you are just importing content from another CMS I would write a scheduled job in EPiServer:
http://world.episerver.com/code/dannymurphy/Stoppable-Scheduled-Job-with-feedback/
That job then uses the standard IContentRepository to create content:
http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/8/Content/Persisting-IContent-instances/
That way you can run it whenever you want and have access to EPiServers complete API. Also you can see progress of the import through the job status.
In the job you can read the content as a file in any format you like or directly from the source CMS database or some xml or RSS feed perhaps.
I have moved content from PHP, Java and .NET CMS this way. In .NET you could even access the source CMS via WCF or SOAP if available.
The ServiceApi is relatively new and more focused on Commerce products and media assets rather than CMS page and block content so I wouldn't use that.
There is complete documentation below for the ServiceApi by the way, did you not find it?
http://world.episerver.com/documentation/Items/EPiServer-Service-API/
Regarding language management you can read more in the below links:
http://cjsharp.com/blog/2013/04/11/working-with-localization-and-language-branches-in-episerver-7-mvc/
http://tedgustaf.com/blog/2010/5/create-a-new-page-language-branch-programmatically-in-episerver/
Basically you have two options for multiple languages. If the content is just straight translations you should create nine different language versions (branches) of the same page. You can also have multiple sites in an EPiServer installation but that requires 9 separate licenses (and the associated costs).
I've done a lot of EpiServer content migration projects. The easiest way if it's possible is to export your current sites tree in Json and then import that into EpiServer. I've had to do it on a recent project and mixed with Json.net it's pretty easy.
If you want to go that route you can find all the code to do it here: EpiServer Content Migration With Json.Net/
As a Joomla (novice) developer, I'm concerned about why we really need modules to create our own forms. I'm definitely not an authority on the subject when it comes to Joomla but here's my issue.
I understand (through hands-on discovery) that we can create forms using two ways (without additional custom modules).
By writing the form content straight in the index.php page, then checking for submit using PHP.
By inserting the HTML content for the form as a CustomHTML article using the admin back-end. Then have a separate PHP page to do the processing and return back to a specific landing page.
First I'm not sure if the above methods are considered sane in the joomla world but I do think they're workable.
If so, why do we need to run through rough seas trying to download and install form-builder plug-ins and write code that looks pretty absurd with so many files.
The first solution you mentioned is the worst that could be done. Editing the index.php should never be done. If an update for the template is bought out and you install it, it will override your changes.
The second point you mentioned is also a bad idea. There is no point in using separate PHP pages if you're using the Joomla CMS.
Stick to Joomla standards and create a custom module (not custom HTML module) either by coding it yourself or getting started with a Module Generator.
The whole point of using a CMS is to make life easier. A Joomla site is built of of Components, Modules and Plugins.
Components are like applications such as a Forum, e-commerce system etc. Modules are like widgets such as a twitter feed, shoutbox etc.
Plugins change the behavior of something.
why do we need to run through rough seas trying to download and
install form-builder plug-in?
Trying to download and install a form builder is not difficult at all. Simple go to the Joomla Extensions Directory, go the the necessary category, click on an extension that suits your needs, download and install it and voilĂ .
I want to know if it's possible to translate a Zend Framework 1 website in a manner similar with the one implemented by WPML for Wordpress.
What I want is to make an application that can scan the website source code for translation variables, then store them in a database or a .po file.
Also please note that I am not interested in switching to another framework or using only Wordpress for my website but in a method of simple and easy translation for someone without programming skills.
What you need is:
Zend_Translate with gettext adapter
Zend_Registry
Poedit
More info here.
PoEdit http://www.poedit.net/download.php
I have used this software to create .mo files for Zend_Translate gettext adapter in one of my ZF projects.
I want to be able to create ready to publish blog posts on my desktop and then upload them to a blog I've created with ZF.
(similar to Wordpress from what I've read).
Looking for suggestions on how that is best implemented?
Thanks, -km
Get yourself comfortable with Zend Documentation for xmlRPC.
That is the way it is done in Wordpress (and how it should be done in Zend Framework -- I think).
This Wordpress source code of xmlrpc.php shows how it is working in Wordpress. Didn't found any examples for Zend, but it should work out (as it is also just php).
I'm looking for a sample project that uses Zend Framework so that I can see how masters do it.
I'm not looking for something that uses other stuff like smarty, or any other major library.
There are plenty of samples for different subjects on sites like zendcast.com but I need a full working solution.
I couldn't come up with anything like that by googling.
I came accross this a while ago, it has a sectoion on Central authentication
http://www.zend.com/webinar/Framework/70170000000bEs9-webinar-secure-application-development-with-the-ZF-20100505.flv
Here are the notes, look at page 9
http://static.zend.com/topics/Webinar-Zend-Secure-Application-Development-with-the-Zend-Framework.pdf
Is this a good idea?
We are making a full open source CMS, based on Zend Framework: Centurion CMS (http://www.centurion-project.org/).
We are working on it since more than 2 years. The project is under the new BSD licence.
Feel free to try, use, pull feature, make some push request, criticize...
If you have any question use the our Google group: http://groups.google.com/group/centurion-project
Social Engine 4 is what you are asking for but its not free nor open source . The best application ever created using ZF has became even more popular then Zend itself (google trend) its known as "Magento". Its open source and based on best programming practices (design patterns) .
Social Engine 4 projects are built on Zend Framework.
Social Engine 3 used smarty but they decided to move to Zend.
Have a look at TomatoCMS
Pro Zend Framework Techniques: Build a Full CMS Project
I think this book will be useful for you.