Posts: 16

Topic: Code Repository [rewritten]

Since I was not happy at all with Symfony2 and the way it over-complicates stuff I've got to work and rewritten the whole Repository (like... lets say 90% of it's code). We're now on Codeigniter + HMVC. If you're starting a site I highly recommend using those two.

Here's what happened thanks to the rewrite:

A ton of changes in design:

Added more status messages when using the repo

Fixed navigation bar

Added breadcrumbs all over the site for easy navigation

Added descriptions of the main pages

Easy to see Download buttons

Correct stats in Lists

Make the repo look like the rest of the site as much as possible

---------------------------------------

Added a portal-like Index page

Added XML listings for Indicators and Addons (now let's have some patience and wait for Popov to make use of those in FSB/FST)

Urls are looking similar in the different parts of the repo for less confusion with structure

Loads like 10xfaster compared to old version

Rating works on all sections

Rating is now easier to understand

Comments work on all sections

Fixed XML values bug when listing for FSB

Avatars of comments appear correctly now, no broken image links

You can one-click copy strategies to clipboard and Ctrl+v to FSB

You can upload new version of a strategy, without deleting the repository record. Just make sure it has the same title in the XML

You can also update C# files (addons and indicators) without deleting their page

You can even more easily add comments

You can sort strategies/addons/indicators by their most important stats

You can NOT upload a strategy/indicator/addon with the same name as another file from that type. That is done to avoid confusion. Strategies use strategy name from the xml conents. Addons and indicators use name from the Name field you are entering manually in the repository.

Repository has been included in the main site menu and moved from http://repo.forexsb.com/ to http://forexsb.com/repository/ (if you pasted a link somewhere, don't worry. I've put a redirect from repo.forexsb.com to every page on the new address and your "old" link will continue to work flawlessly!

Popov has uploaded a bunch of indicators from the forum to the repository with reference to their respected authors along with links to the forum threads. (Thanks!)

Feel free to come up with ideas and comments on the repository. We will consider those for sure when we get to brainstorm for upgrades.

Re: Code Repository [rewritten]

I'm very happy with the new repo. Excellent job !!!!

What I want to see more is better integration with the website and the software. - RSS feed for content and comments - Notification on new comment by email or forum PM - One click install of indicators from FSB Pro - One click upload of a strategy from FSB Pro - Review of the strategy indicators on the strategy detailed page. Same as in the Overview in FSB. - Search ?? - formatting buttons on the comment box and description box. It can be in BBCode. - Image upload ?? Integration of postimage.org - Version control - Statistics - Hot water ... - Button for ordering of Grapefruit fresh

)

I think the repo is fully functional now. We'll see if there is a user interest to it. Lets say if there are 100 uploaders, we'll proceed with this list..

Re: Code Repository [rewritten]

Re: Code Repository [rewritten]

Yesterday I and Yavor carried out 6 hours brainstorming session. We translated 154 lines of intricate C# code to PHP .As a result Repository shows the strategy slots in a way very similar to what we see in the programs.

Re: Code Repository [rewritten]

The recently added indicators cannot be downloaded from FSB Pro.

Actually FSB Pro loads indicators successfully. After downloading it checks if the indicator is in the indicators list. For these indicators FSB Pro shows error because the indicator name set in the repo is different than the name set in the cs file. It not a problem. I'll remove that check from the program.