1
timgno
Writing in Pseudocode
  • 2012/7/23 8:14

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Hi!

I created a news on my site with a diagram that might help to better understand how to build and then remember what the codes of our forms both in the php jquery, and smarty templates, and also in designing our themes.

What do you think?

If you have better ideas, would be nice to share

It should create a space developers, forum or on an appropriate module, which receives all the ideas of users who want to be transformed into code, their pseudo-code

For example:
We have created a discussion forum for xoops 2.6 and collects all users' ideas, but in many posts had not specified a piece of code in a file.

For what I think, you should think in terms of even more specific in building applications for mobile could help a user who needs to create a piece of code as you wish.

The user writes the pseudocode and the developer creates the code.

If I wanted to write:
// get limited information
      
if (isset($_REQUEST['limit'])) {
         
$contact['limit'] = $contact_handler->Contact_CleanVars($_REQUEST'limit'0'int');
      } else {
         
$contact['limit'] = $contact['perpage'];
      }

      
// get start information
      
if (isset($_REQUEST['start'])) {
         
$contact['start'] = $contact_handler->Contact_CleanVars($_REQUEST'start'0'int');
      } else {
         
$contact['start'] = 0;
      }


I could write it in pseudocode in this way:

If limit is set, then leave as is otherwise the set according to your preferences.
If start is set then leave as is otherwise the set according to your preferences.


It may seem trivial, it is simply to understand the concept.
 
If the diagram is not clear, you can create one as you like

Login

Who's Online

166 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits