Questions tagged [modular]
347 questions
1
vote
2 answers
iPhone application - additional chargeable content
I was considering developing an application which would:
1) form part of a suite of similar applications; and
2) allow the user to download additional chargeable content.
I would be extremely grateful if somebody could point me in the direction of…

Urizen
- 2,331
- 6
- 23
- 33
1
vote
1 answer
On javascript software breaking down structure guidelines
I'm trying to refactor my old Colorchess (ChessHighlight) program. It's a chess board aimed to enhance influences of chessmen on each turn to help beginners understanding the game.
According to pressure balance on board at a given turn, tiles are…

Hefeust CORTES
- 129
- 13
1
vote
2 answers
Set variable and pass to function or re-set variable?
Which is best? Set a variable and pass it into the call, or set the var again every time. I want self = this (i.e. the Slider obj) for consistency.
EDIT for answers: I know I can use this but I work with other team members and have agreed for…

Jonny Sooter
- 2,417
- 1
- 24
- 40
1
vote
2 answers
How to get the modular inverse by using Extended Eucledian Algorithm?
Given a mod b and find its inverse, then doing the extended GCD.
ax + by = gcd(a,b)
After I get x and y, how do I get its inverse?

skinnyas123
- 382
- 1
- 4
- 13
1
vote
2 answers
How to make Take() and Skip() modular?
I have a struct like this:
public struct Response
{
public string Cmd;
}
And also in main I'm having this byte array:
Decode(StringToByteArray("0100002402433131000000000000000311"));
And then I have a decode function inside this function I…

Alexandera MacQueen
- 99
- 2
- 11
1
vote
2 answers
Sinatra Modular app not recognizing routes on AppFog
I have started writing my Sinatra apps using a modular style, suggested in this stackoverflow answer, and have successfully deployed it on Heroku, but when trying to deploy to AppFog (identical code except for datamapper mysql/postgres gems) I get…

Gus Shortz
- 1,711
- 1
- 15
- 24
1
vote
1 answer
How can I consolidate my code? JavaScript and PHP based issues
My page is rather simple and direct. I first call in external PHP pages as elements within my page using DIV tags. I then hide the div's that aren't needed on the home page and then slide into view the wanted "page" and hide the unwanted.
What I…

Dapper
- 93
- 1
- 8
1
vote
1 answer
Modular exponentiation - how to reduce huge modulus?
the typical equation for modular exponentiation is (a + b) MOD n = ((a MOD n) + (b MOD n)) MOD n. this is awesome if a and b are very huge.
however I'm asked to do this exponentiation with a very huge n (2^31 -1) ,a and b are no problem.
I just need…

user1726493
- 19
- 3
1
vote
1 answer
Arduino Modular Arithmetic for Large Numbers
I have written a code to go around the big numbers: The problem is, there is a slight problem I cant seem to catch it. It is accurate till exponent or b is 2, then 3-4, it is slightly off, then 5-6 it just starts to deviate from the true…

Joey Arnold Andres
- 368
- 4
- 15
1
vote
0 answers
Failed to get modulename of javascript in Zend modular structure
I'm trying to get value of $this->moduleName in CustomControllerAction.php, but I got different value between module javascript and general.
for:
http://myip.com/username/general
echo result is 'general'
but…

Davidy Silalahi
- 11
- 3
1
vote
1 answer
In search of Module Web Design architecture
I'm designing a large web application and I would like to finally be able to modularize the different elements on the page. I'm using the Zend Framework.
I would like to create independent modules that I can combine to create a page(e.g. Contact…

Ali
- 603
- 2
- 6
- 17
1
vote
1 answer
zend acl Modular implementation?
I am trying to implement zend ACL in my project, i am facing three problems.
To explain the problems this is the code:
My library plugin class
class Mylib_Controller_Plugin_AccessCheck extends Zend_Controller_Plugin_Abstract {
private $_acl =…

dori naji
- 980
- 1
- 16
- 41
1
vote
1 answer
zend framework: Creating the Default Module
I did everything as it is written in the book of Vaswani V. - the Zend Framework. A Beginner's Guide (page 33), but the page "http://square.localhost/default/index/index" returns the response "not found". What is wrong?

iamsashka
- 43
- 5
1
vote
5 answers
Setting rowspan on colgroup?
Simple (I hope), HTML question.
Let's say I have a column group that spans 3 columns. But it also spans 9 rows. But in actuality, I want there to be 3 levels of columns (so basically, 3 columns, split across 9 rows). The only objectives really…

Anthony
- 36,459
- 25
- 97
- 163
0
votes
1 answer
CodeIgniter modular CMS with templates
You all probably think "oh my god another guy who wants to create a CMS",
but I really need your help!
I want to create an own CMS with modules and templates.
I've already installed Modular Extensions, but now I'm struggling with the templates.
I…

user1264519
- 1
- 3