Joomla! and Beyond 2013

Buenas prácticas para programadores de extensiones Joomla!

Francesco Abeni  · 

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

this is okay okay I think you remember what I said five minutes ago so I won with a font from scratch and I was member of the Viet Minh development team in the glory is there a virtual one when towards the end everyone else was working on the Russian - because

was much more fun and I was trying to keep the one together with some horrible bug fixes and we know necessary I've been ok part of the that project also you know if you know it his extension that Jo's sitemap XML sitemap of your junior site only problem

is Patrick which is main developer is not really into Joomla anymore so that project didn't it's not very active right now sorry okay and I am now part of the watchful eye or watchfully or watchful or how do you want to call it development team and

this project has just won an award the best tuna app of the at the CMS xbox of congratulation to three hundred and Victor who are developing this stuff so this was just to introduce why who I am okay why are we here I went to known Joomla conferences last

year so I had the opportunity to see how other people are doing stuff at the framework other other ideas and I have to admit that okay okay I have to admit that I think we can improve the quality of our work and I'm talking about Joomla framework I'm

talking about the application and the extensions developed for Juna so what I was trying with with this idea I so this is a treat from Yannick which is somewhere and well somehow it convinced me that it was a the right moment to step up and say okay people

we need to define some good practices and try really to improve our work and the quality of our code this is what we are here today to try to understand this is not a development course if you haven't ever haven't ever tried at least tried to write

a component or a module or whatever an extension you may probably find some unfamiliar concept don't leave the room you can ask questions but this is more targeted to people who add the opportunity to write some extension and is trying to improve the way

these extensions are written and what is exactly our target I referred to dude for the purpose of this pitch as not bad and that's not really you know a novelty but what I mean is the right way as opposed to the wrong way why excellent is another matter

excellent you have to be above the average you have to do great stuff and I think good is enough for today so let's try to avoid basic errors and basic what I think bad practices while developing extensions why me hmm okay because no one else did well

that's basically the answer to why I'm here um I do not consider myself an excellent developer you have to have time you have to have the skill to be an excellent developer you don't not anyone can be an excellent develop but I think I really think

that everyone can be a good developer about good code in the sense that we can respect standards we can follow partners and we can cooperate by there with other people so where do we start with I think from the very basic starting point it is the easier environment

it's a development environment your work area so I will start with a IDE I think most of you use it I hope you're using an IDE like an integrated development environment which are the very very very least support something like multiple files edit

I think that except from northbound windows every everything does that now I lied your syntaxes so you can quickly spot errors and typos that has an index for your methods and variables so you can browse through your files in a quick way there's autocomplete

your brackets and parentheses and quotes and single quotes and whatever and there is a compiler so you can quickly notice if there is something wrong not not from a syntax point of view but from a logical point of view the first five points are just a basic

subset I mean less than this and you're not using a serious program my opinion you should really consider what else to do that does not mean that you can you can have more than that in fact I suggest you I hope you can have more debt like integration with

a versioning system which we will talk about in a minute like a get up like like it like a square and whatever unit testing integration something that lets you really quickly write testing a lot of people are talking about testing in these days and there is

a reason for that and I agree with that reason documentos so you can quickly create documentation in a standard format from your comments how many other things so the idea is that you start this program and you whatever you need from FTP from whatever without

just skipping around with different tools we use NetBeans a lot of people here is a a lot of people that I know is using PHP sörman swear by it I I'm not endorsing anything I just suggest you to use a serious tool because it can make a world of difference

in in the way you you really in the speed of writing code so whatever you like best what is versioning if you don't know what version is stop writing extensions see what versioning is and then come back using versioning just to know how quickly I can skip

over this who is using it here okay something that is not good but does the same thing like as well Norma kuia okay we still have some holes left so to anyone who is not using it i really suggest to take the time to learn what these in a few words a rationing

system is something the track of your changes and lets you quickly get back to previous versions and you can develop different versions you know the same time you can have a lot of improvements and most of all you can reduce the number of problems in your

code because you have a clear record of what you did and when or who did when Oh a lot of people is using it I mentioned as when mercurial and other things by in my experience we came from subversion in my experience it is very very well-suited to develop

June extension that kind of development because you know it's really easy to branch and to a different direction at the same time which is mostly the case when you release commercial extinction so we have three extensions so i really suggest to go with

get there is a book on the under about that is a free book well it's even more than they needed I mean there's a lot of stuff on that but at least the basic stuff is that so at least the stuff you need to and if you use gate you should know github

which is an ostrich bit and is it used by many other projects especially from Joomla and other famous doom extensions a way to to share to cooperate and basically even just a backup of your file you don't need a kid server you can just use git on your

[ ... ]

Nota: se han omitido las otras 3.308 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.