What is Joomla /libraries/cms? - joomla

I had an issues with some joomla api. The issue was that I was using the latest version of joomla and couldn't find where a joomla class, that was being called in my code, was derived . I searched the joomla api docs and found nothing relating to the class I was looking for.
I then stumbled across the refactoring change log for joomla and noticed that the function i was after had actually been moved from /libraries/joomla/form to libraries/cms/form.
Why would this be the case? There doesn't seem to be any reference to /libraries/cms in the api docs. How are we suppose to know that there are classes living there? Very confusing.

Since Joomla! 1.6 the code has been progressively split into the Joomla! CMS and the Joomla! Platform. You can see this separation in the github repository - a good place to also keep track of changes that are committed to both the CMS and the Platform. The simplest way is fork each repository and keep track of them.
As classes are updated they may be migrated to the /libraries/cms directory if they apply specifically to the CMS application (e.g. html forms are an application level function not a platform level).
I find the best place to hear about changes under discussion are in the respective Google Groups - Joomla! Platform Development and Joomla! CMS Development
[Edit]
Documentation of class's is the hardest thing to find for Joomla! CMS - there doesn't appear to be a current api listing for it, unlike the Platform API reference. Often it is just easier to read through the code.
It's also worth keeping a watch on the developer sub-site.

If you want to define excellence in CMS without coding, Joomla is the right option for you.Joomla the most preferred content management system among developers is an easy-to-use open source solution.If you want to define excellence in CMS without coding, Joomla is the right option for you. In this post, you will find few of its features that make the website development easy and most preferred option for developers.

Related

CMS For an Existing MVC6 App

I have an MVC6 web site and am looking to simplify content management such as add an ability to edit content online instead of via HTML or database. It is possible to do this all manually via creating models, controlled and pages allowing to edit the data. But I'm afraid that it would be like inventing a bicycle.
Are there any tools that can be installed to an exising MVC6 app and add basic CMS functions?
I'm building one, hoping to launch end of June. I could let you have a preview of an MVC 5 version right now as I'm looking for feedback, but MVC 6 might be available late May early June if that is a suitable timescale. The CMS is a series of NuGet libraries, and its clean, powerful and highly extensible. One of the design priorities is for it to be straightforward to add to an existing site. Have a look at the first version of the site for the CMS

Creating profile page for users in Joomla

I have been developing websites for some years. I know PHP. but I have never worked with a CMS before. I've been told to create a website with Joomla where there's a homepage and also new users may sign up and then they can have a profile page where they can upload their profile picture and write their résumé.
This is easy for me to implement this system if I start coding it by myself. but how can I do this in Joomla? is there a plug-in which I need? could someone please give me some resources?
No need to re-invent the wheel - there are tons of ready-built components at the Extensions Directory. Last I checked Community Builder and JomSocial were the most popular, but they might be overkill for your need, so it's worth having a look at the other choices there. If you're new to Joomla, you're probably interested in a Component, which is essentially a "sub-application" that installs under Joomla. They usually include Modules that can be displayed on the site, as well as Plugins that work with the core Joomla logic to perform specialized functions for the installed component.
There are many plugins, but the simple functionality of user profiles is implemented in Joomla. This question might help you.

Joomla 2.5 Add Option Groups to Article

I'm playing with Joomla 2.5.9 (The latest 2.X download). Do you know how you can add additional menu's to the "Article Manager: Edit Article" page? (This is in the Administration)
Their API gives me some hint on several things but I am don't know what this right "Slide Down Option Area" is called in the Administration.
In the right area there are things such as:
Publishing options
Article Options
Configure Edit Screen
Images and Links
etc..
I want to know where to start to add my own, or where they are already built in the system so I can base mine off it -- Is this a plugin, module, or something else? :)
As i say don't change any of the core file in Joomla. If you want to add any functionality into the article manager you can make your own plugin to add functionality in it. For doing this see this link :
Creating a content plugin
I hope this is what you looking for.Good luck.
There are some extensions that allow you to do that.
I recommend (although somewhat buggy and a code mess) this one:
FieldsAttach
It does exactly what you want.
Or, you could make your own as Toretto suggests, there are some tutorials on creating a plugin for extra items in the article form, but the already-made-extension route seems to make more sence.
I've been using FieldsAttach for this sort of thing, for a few years, the code is often a little messy, that is true, but the the concepts are clean and eloquent. Brian Teeman explains it well from an integrator point of view in his talk at https://www.youtube.com/watch?v=f2WLKWbRj5U but in some ways it is even more compelling from a developer's perspective.
However, after watching Marco Ding's Joomla Day UK 2016 talk on https://www.youtube.com/watch?v=KDh1IPuZAVA I think DPFields may be a better choice. The architecture is perhaps more rugged and neater, but also because it may well end up being a core extension in Joomla in the near future. More info on DPFields is at http://extensions.joomla.org/extension/dpfields , https://joomla.digital-peak.com/products/dpfields and https://joomla.digital-peak.com/documentation/162-dpfields .

TYPO3 - creating a community site

Okay. This is the main functionality of my site. Here goes:
People register. They upload a list of whatever ebooks, movies, tv shows they have. Other people who want them will just have to 'search' for an item and they will be provided with a contact form to contact a person that has what they want. Very much like pianofiles.com but this is for a local community.
Added features could be
*forming social groups by interest
*creating events
etc..
Is all this possible using Typo3?
If yes, then how should I use Typo3 for it? (Just a basic idea)
If not, what should i use to create something like this?
Check out the TER, a quick search revealed http://typo3.org/extensions/repository/view/community
You could realize your project with any well known CMS or PHP framework.
TYPO3 CMS, as I see it, has a strong emphasis on the editor backend. If you don't need that at all and don't have any prior experience, I'm not sure if it's the right tool for you - unless you want to get into TYPO3 anyway!
PS: For TYPO3 web apps, there will be the upcoming Framework http://flow.typo3.org, wich is in beta

Joomla Discussion - When to create a plugin, when to create a component?

I have been learning to develop my own plugins and components for joomla! 2.5.
After a couple of months of developing features for my site, I am starting to realise that some of the components I have created could have probably been just as effective if I'd developed them as a plugin for com_content or com_user.
My question is what's the best way to decided if a full component is needed and when is it ok to use one or multiple plugins to give the same functionality.
My feeling at the moment is that plugins are a much nicer way to go due to them being self contained. Maybe I've answered my own question, and components are needed when interaction between elements is more complicated, where as plugins can be used for very modular functions.
Anyone else have a view?
Components and Plugins are completely different types of extensions.
Components are applications/systems that will appear in the content area such as VirtueMart and where the articles are shown. Consider them as software for you computer.
Plugins are there to manipulate Joomla and/or there extensions it's using. They contains functions that are associated with trigger events. So in a nutshell, they are there to extend the functionality of an existing extension.
So so answer your question, have a think about what you are creating and if will be an aplication or something to extend functionality.
Hope this helps

Resources