Posted by Marcelo on Sabadini
02/04/2011
PHP Talks - svn: keywords
Speaking staff!
Follows the presentation I made about SVN keywords in PHP Talks today, 2/4/2011.
[UPDATE - 14:00 pm]
Newbie PHP Talks. Unfortunately I could not stay for lunch and Dojo. The lectures were:
- 09:00 - Marcelo Sabadini - SVN Keywords / http://twitter.com/marcelosabadini
I talked about how to enter key words in the source code for the input SVN revision, modification date and author. The staff asked enough. I was very pleased
- 09:40 - Welington Veiga - Inversion of Control and Dependency Injection in PHP / http://twitter.com/welingtonveiga
A talk with two very good and legal standards. I liked the myth of 'inversion of control' solves many problems as I have ever experienced and still experience it.
You lost that it's worth a google about it
- 10:30 - James Gouvea - Cache data in practice / http://twitter.com/tiagogouvea
Interesting talk showing how to implement a caching solution in your application. Brenckmark with practical examples. Inspired me to think of a caching solution for some freel. - 11:20 - Jean Pimentel - Unit Testing with PHPUnit / http://twitter.com/jeanpimentel
Lecture introduction of PHPUnit. This was more theoretical because in the afternoon will roll (actually already rolling) a dojo with the same Jean.
I wish I had been to the dojo but did not.
No more is it. If you missed @ phpmg stay tuned in order not to lose the next.
If in doubt put there ![]()
Posted by Marcelo on Sabadini
03/01/2011
Subversion - Inserting data revisions in the source code automatically (TortoiseSVN version)
I'll start posting more years a simple but very useful tip.
The title of this article was not very good, I know. But that's exactly what we do: When doing a commit, Subversion will enter the review date and author in the source code automatically.
But you may be wondering: what was it?
The answer is simple. When you work with a more organized structure as a test environment, regulatory environment, approval and production environment is extremely important to know which version of 'this file' in all environments. This does not solve any problem, but makes it much easier to find errors.
Get to the point.
Read the rest of this entry »
Posted by Marcelo on Sabadini
02/06/2010
Shell Script - Generator update packages
Hello guys.
Today I will show how to script that reads an update from SVN and creates a zipped package with only the files that have changed from one revision to another. For this we use Shell Script. Yes! if you run Windows will run out this mamata !!!!!
First I would like to say that I'm no expert in Shell Script, much less Linux. I'm just a guy who loves and seeks to use them in day-to-day to make facilities, productivity and fun.
For the reason described in the previous paragraph, this script could be improved greatly. But answer me perfectly and made me reduce the time to update my environment just 20 minutes to 3 ![]()
So let's go!
It would be nice to know you a little of the topics below to be able to follow the reasoning:
- Linux (for our scritp only runs on it);
- Do some things in line comanto (because it is more elegant);
- SVN on the command line (in order to understand the script better);
Posted by Marcelo on Sabadini
20/08/2009
Subversion (SVN) - In practice ...
Well, now who did not understand what's this SVN you can start to use this feature. Who has not read the introductory post is interesting to read before continuing.
Hands-on!
To facilitate understanding, we will use SVN in Windows first. We will use it in conjunction with a tool called TortoiseSVN . You remember the commands I mentioned in previous post?
- checkout
- update
- commit
TortoiseSVN is a program that abstracts the commands listed above (and many others) that the interaction with SVN is all with the mouse. To download the TortoiseSVN go to the following address: http://tortoisesvn.net/downloads Read the rest of this entry »
Posted by Marcelo on Sabadini
05/08/2009
Subversion (SVN) - Brief Introduction
Hello everyone how are you?
Today I will talk about version control. Specifically about Subversion , aka SVN.
As you may already know, SVN is a software version control files. The basic idea of working with a version control is that you always have access to all versions of the codes made by you and / or your team.
Main advantages:
- Control history: easy to undo and the ability to analyze the history of development, as well as ease of recovery of older versions and stable.
- Teamwork: allows multiple people to work on the same set of documents at the same time and minimizes wear caused by problems with conflict issues.
- Rresgate stable release: you can easily recover a stable version, versions are marked with an ID.
Basic operation: Read the rest of this entry »


