Software Developement Platform(BE project)

Software development is a challenge faced by most developers when developing medium or large sized project. Software is usually developed as a team work and even when developers are working in the same office, careful collaboration of work is of utmost importance.
The foremost importance when developing a piece of software is managing the code. If hundreds of developers are working on the same code, they need to be streamlined and taken care that no two developer’s work is in conflict with each other. In short we need Source Control Management. This source control management software should allow concurrent access while
reading and exclusive access while making changes. Source control management is not the only thing to be taken care of. To err is human and
developers too fall in this category. All software has bugs and they need to be tracked. These bugs may be due to poor testing or due to shortcoming of the code. Logical errors also go un-noticed. If this software uses networking using TCP/IP, then care has to be taken for network failures. Some of the bugs may not be a bug but a wish-list. Normal users may file bugs which
are actually features instead of bugs, which need to be addressed carefully.

 

(This was my BE project. You may download the design document from here )

Joomla Content editors tool

 

How many times your content editor/submitter used some wrong html rules in your site content?

For me, the answer is numerous times. I used to be anxious each and every time, he logged in. I d

eveloped a joomla based CMS site for our company, once the site is launched I moved to other projects. But every now and then they used to call me as some pages are looking different. This is because our beloved content editor has used some new kind of fonts and text rules which were not used anywhere in the site. Yes yes,I know there is tinyMCE . But problem is when you are copying from multiple sources and pasting into your article, your article(in this case I mean joomla article) becomes very clumsy. In this situation, if apply your desired style rule using tinymce , the result may not be good.

So the best way is to

  • Remove all HTML styles.
  • Get the clean text
  • Now apply your text rules.

But again,our dear content editor may be a bit lazzy. So thats why I planned a tool for him. Its a simple two file application, you may marge it into one file too. The concept is this :

  • There is a text box where he has to paste the text
  • The script will remove all previous styles from the text and apply new styles as defined inside the script.
  • Regular expressions matching is used to apply special rules for specific words.

What it does is :

  • It removes all styling but keeps newline characters and paragraphs.
  • It converts everything to arial and with the selected font size.
  • it searches inside the text , and converts every occurrence of foo into a orange coloured foo.  You may use this feature for your brand name.
  • It also applies different styling for the title.

So thats it. Download the files, put them in your apache’s web folder and run. Please feel free to modify the codes as per your need.

Download Source Files

{ This was published previously on my old blog in college days. Please don’t judge me by this code. I know it’s kinda messy 🙂 }