We help IT Professionals succeed at work.

Web Frameworks

A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. Most common web application frameworks are defined by specific subsets, including ASP.NET, JaveEE, Symfony, ColdFusion Language (CFML), Laravel, jQuery and AngularJS, or for the related languages, including .NET, PHP, JavaScript, Java, Perl, Python, Ruby, C++ and C.

Hello,

Please see this website,
https://www.intact.ca/

I would like to create the banner for my site which is similar. I am looking for a script which can do the following

•  bootstrap, fully responsive
•  rotating  banner with copy, divs and clickable buttons over top of banner


The intact site appears to have different versions of the banner for smaller screens, it does not shrink or respond. Ideally I would like one that responds
0
I'd like to map a page route with i.e. https://msdn.microsoft.com/en-us/library/dd992955(v=vs.110).aspx

But i need the "URL pattern for the route" to say apply this for all urls that "DOES NOT" contain a dot / "."

I have this atm i.e. routes.MapPageRoute("defaultRoute", "{*value}", "~/Default.aspx");

I think this is a regular expression but i maybe wrong as the documentation just decribes this parameter as "URL pattern for the route"

thanks
0
I'm trying to write a query in CodeIgnitor and am a little stuck.

What I want to do is set up a variable.  The variable is either equal to $_GET['var']  or it is equal to anything

So when the query runs it will either thry to match the var in that field or it will return anything from that field if it has an entry or if it is empty.

	if (!empty($_GET['interface'])) {
		$interface = $_GET['interface'];
	} else {
		$interface = ' NULL OR NOT NULL';
	}

$query ->
-> from('exp_channel_data t1') 
	-> where('t1.entry_id', $related_id)
	-> where('t1.field_id_4911', $interface) 

Open in new window

0
Is there a way to have a border around an area on a bootstrap page?

See attached. Note that the outer blue border references the page edges, the inner black border is the border I'm referring to.

The size would probably be a little larger than this for sm, etc., but needs to resize down responsively for size xs.

Can I do this using Bootstrap?

Can I do rows inside columns? Nested rows / columns?

Thanks
logon_page.jpg
0
In Spring MVC, is there any way to send the raw charset from a textarea to the controller by submitting the form without having the text automatically encoded in UTF-8?  For example when the submit the text “Joe's Café & Bar ♫” in the textarea using the below form:

MyJSP.jsp:
<form name="myForm" method="POST" action="inlanguage.ocs" commandName="${commandName}" htmlEscape="true" enctype="multipart/form-data">

<spring:bind path="form.contentRequest">
<textarea id="<c:out value='${status.expression}'/>" name="<c:out value='${status.expression}'/>" cols="100" rows="10"><c:out value="${form.contentRequest}"/></textarea>
</spring:bind>
</form>


and get it from the controller using form.getContentRequest():

MyController.java
public ModelAndView submit(HttpServletRequest request, HttpServletResponse response, MyForm form) throws Exception {

System.out.println(form.getContentRequest());

      Etc.
}

form.ContentRequest() is always the UTF-8 encoded version of the charset in the textbox: (Joe's Café & Bar ♫) instead of the raw charset (Joe's Café & Bar ♫).

Is there a way to not have form.ContentRequest automatically encode the charset as UTF-8 and just return the original raw charset?  I’ve checked the following files to make sure none of them have any kind of configuration to UTF-8 (the jsp page header, the MyForm.java file,  web.xml for any filters, etc.).  Otherwise, is there a way to decode the string from the backend?  I’ve tried something like

0
Hello,

Please look at www.rkassoc.org/Lakos_config/basin.php.

Yesterday, this was all working perfectly. Somehow, I screwed it up, the responsiveness at narrow levels is not working AT ALL. Of course I have made some changes.

Specifically:

(1)  Narrowing, the circled buttons at the bottom should disappear at < 640; they don't.

(2) It looks like xs is not working at all. The next button disappears, the text in upper portion does not wrap. It's like I have somehow defeated Bootsrtap almost alltogether.

What is wrong?

Thanks
0
I am a newbie to all of the above topics although I have been studying about all three.


My problem is that I have inherited an application that makes use of Sql server, Entity Framework, WCF and my peers have determined that, based on what we are looking to accomplish and the way the application exists currently (it is unacceptably slow, I believe due to the fact that the author of the code was a newbie as well when he developed.

Our conclusion at work is that he "taught himself" about all of the above technologies that were used on our dime and the result is like a bowl of spaghetti to those of us trying to re-engineer it.

We have decided that using WCF for this application was like using an elephant gun on mosquito.

This "question" may be too big of a topic for this forum but I figured it could not hurt.


I have two dlls and an executable. The first .dll has knowledge of the database and the second is the WCF service that pumps the data out in requests sent to it via the WPF application and its control bindings to the WCF service.

I want to functionally remove WCF from the picture and plug the GUI and its controls and other items directly into a single Entity Framework .dll.

As I said, this may be too big of a question but perhaps I could get back insights on one or more of the questions I ask.

The application is small and has virtually no throughput requirements. 95% of the time ther is only one user entering data via the WPF gui. The number of …
0
Please look at www.rkassoc.org/Lakos_config/basin.php

We want to completely eliminate the circled numbers, connecting lines & captions underneath at the bottom if the device width is 640 or less.

These are presently defined as follows (using bootstrap classes):

<div class="row">
      <div class="col-sm-6 col-xs-6 text-right nopadding"><img src="images/nav_left_onrr.png"></div>
      <div class="col-sm-6 col-xs-6 nopadding"><img src="images/nav_right_blue.png"></div>
</div>      
<div class="row">
      <div class="col-sm-6 col-xs-6 text-right nopadding"><img class="img-responsive" src="images/nav_left_captions.png" align="right"></div>
      <div class="col-sm-6 col-xs-6 nopadding"><img class="img-responsive" src="images/nav_right_captions.png"></div>
</div>      

How can we do that?

Thanks
0
Please look at http://rkassoc.org/Lakos_config/base_template.php. This is precisely what I want. However, as it gets narrower, it stacks the columns in an odd way. See attached, it looks like it breaks on the image boundaries, not the column boundaries. Attached is "narrow" view & source.

What I want is in the narrow (xs) view, the columns with the circled numbers & connecting lines to stack vertically.

How can I do this?

Is this partially caused by my own css to force no column padding?

Thanks
base_template.php
narrow.jpg
0
See attached examples.

What I want to do is have the gradient effect as illustrated (from white at the top to light gray at the bottom appear on all pages. Of course I want the gray to go JUST to the bottom of the page.

I am using Bootstrap; the wider page is the effect I want; note on the narrower one, I get the gray "ending" too soon,

I'm using a fixed background image.

How can I make this work in Bootstrap / CSS?
reg_page_narrow.jpg
reg_page_wide.jpg
register.php
0
Hi Experts!

I'm facing a problem related with variable scope in Codeigniter

Controller code:
		public function compraspublicas($ano=false,$mes=false){
			$buscatesteira['buscatesteira'] = $this->home_model->getTesteira(3);
			$this->load->vars($buscatesteira);
            $data2['title'] = "ICA - COMPRAS P&Uacute;BLICAS";
        	$this->load->view('template_head',$data2);
        	$this->load->view('home/barrasp/barra.html');
        	$this->load->view('home/nome_codeagro');
            $this->load->view('home/banner_setores');
			$this->load->view('ica/menu.php');
              
            //Provisório
            $quantidade = 10;
            //
            
            $resultadoIca['resultadoPublicacoes'] = $this->icahome_model->
                  getEditais($quantidade);
             
            //$paginacao['paginacao'] = $this->pagination->create_links();
            
            $this->load->vars($resultadoIca);

            $this->load->view('ica/compraspublicas.php');
            $this->load->view('home/projetos');
        	
        }

Open in new window


Model Code

public function getEditais($id){
            $sql = "SELECT nome_edital FROM tb_editais_orgao";
            $result = $this->db->query($sql);
            return $result;
            		}

Open in new window


View code

<div class="tab" id="tab1" style="display: block;">
      <p>Conteudo da tab1 - Qualquer HTML válido pode preencher</p>
      
    <?php
     if (empty($resultadoIca))
      {
          echo 'No momento, não encontram-se cadastrados editais. ';
      }
      else
      {
        echo 'Existem editais. ';
      }
  
      // This causes errors
      foreach ($resultadoIca as $resultadoIca)
      {

        echo 'Edital';

      }
    ?>

      
</div>

Open in new window


The table has values for the query

img_EE_004_241115.png

The variable $resultadoIca is not visible in the view code....

Could you point what could be necessary to that?
(if any other directive is necessary)

Thanks in advance!
0
Hi,

I have a WPF project in Framework 4.0 which works fine. Now I need to upgrade to Framework 4.5 and I run into problems. I have an app.xaml file with this content:

<Application x:Class="ScheduleViewDB.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:telerikScheduleView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"
             xmlns:telerik1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:viewModel="clr-namespace:ScheduleViewDB.ViewModels"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8Touch;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary 

Open in new window

0
Trying to learn node.js.

If I create a listening socket on the same port as the port used by the VS debugger, the VS debugger dies, but the chat application works.

How can I test and debug node.js from within a VS 2013 project and not have any conflicts as far as the port?

If I use a different port to listen on than what VS is using - I get to the chat client with no failure in the debugger, but the chat does not work.  I type messages and nothing shows up in the chat window.

Here is the current HTML code:
<!doctype html>
<html>
  <head>
    <title>Socket.IO chat</title>
    <style>
      * { margin: 0; padding: 0; box-sizing: border-box; }
      body { font: 13px Helvetica, Arial; }
      form { background: #000; padding: 3px; position: fixed; bottom: 0; width: 100%; }
      form input { border: 0; padding: 10px; width: 90%; margin-right: .5%; }
      form button { width: 9%; background: rgb(130, 224, 255); border: none; padding: 10px; }
      #messages { list-style-type: none; margin: 0; padding: 0; }
      #messages li { padding: 5px 10px; }
      #messages li:nth-child(odd) { background: #eee; }
    </style>
  </head>
  <body>
    <ul id="messages"></ul>
    <form action="">
      <input id="m" autocomplete="off" /><button>Send</button>
    </form>
    <script src="https://cdn.socket.io/socket.io-1.2.0.js"></script>
    <script src="http://code.jquery.com/jquery-1.11.1.js"></script>
    <script>
      var socket = io();
      

Open in new window

0
I have a bugzilla ticketing system that has about 100 tickets.
Some are bugs and some are enhancements to an existing system.

We started using agile development and scrum framework for new software and existing  maintenance...
We used to use rapid development and waterfall before this.

I was tasked to create baseline product backlog, baseline software specs, sprint plans, release targets, etc. that is required by scrum.

Do you know any site links or have any sample examples for small system that show how to do this starting with the product backlog?
0
Please forgive me if this is a novice question - I'm a neophyte when it comes to MediaWiki.

I'm looking for Video extensions to add to a MediaWiki project.  Some are probably popular and some are arcane.  For obvious reasons I would like to choose an extension that lots of other Wikis also use.  Examples here:
https://www.mediawiki.org/wiki/Category:Video_player_extensions

If this were a WordPress project, I would be able to see the popularity of plug-ins here:
https://wordpress.org/plugins/browse/popular/

Is there a way to find the popularity of MediaWiki extensions?  I've found lots "top-ten" lists, but I'd rather just get straight to the number of Wiki installations that use a given extension.

Thanks and regards,
Ray
0
Hi all. I developed a site with a small admin panel. I created a subdomain to development. The directory structure is

- dev.domain_name.com
    - admin
        - application
        - assets
    - application
    - assets
        - images
            - articles
                 -tmp
- httpdocs
    - admin
        - application
        - assets
    - application
    - assets
        - images
            - articles
                 -tmp
   
In the dev site, I can use admin panel to upload images within assets/images/articles/ directory but once moved the code to the production, trying to upload an image gives me the mentioned error.
The server is on Linux and both directories have same permissions: aricles and tmp have 777 and images have 755.
The code for uploading is as follows:
	public function upload_image()
	{
		$upload_path = IMAGESPATH . 'articles/';
		$config[ 'upload_path' ] = $upload_path;
		$config[ 'allowed_types' ] = 'gif|jpg|png';
		$config[ 'max_size' ] = 1000;
		$this->load->library( 'upload', $config );
		if ( $this->upload->do_upload( 'picture' ) )
		{
			$data[ 'upload_data' ] = $this->upload->data();
			$this->content_model->save_image($data['upload_data']['file_name']);
		}
		else
		{
			// Output the errors
			$errors = array(
					'error' => $this->upload->display_errors( '<p class = "bg-danger">', '</p>' ) );
			foreach ( $errors as $k => $error )
			{
				echo $error;
			}
		}
 	}

Open in new window

Echoing $upload_path gives the expected result.

I'll appreciate any advice. Thanks in advance.
0
Hello,
I have a mega menu here
http://www.think-dev.ca/
user: think
pass: insure

but if I go to this page, the menu is broken
http://www.think-dev.ca/car-auto-insurance/car-insurance-quotes-ontario.php
0
I am developing a webpage using bootstrap. I'm having some success in using a custom style sheet to change styling from bootstrap defaults.

Where I'm having problems is that I want a particular text link in a certain area to have a different "link state" color than the default. This particular link happens to be in an area with a background color that is the same as the current link state color. I gave this link a class called "more".

Following is what I tried to use to make the change:

a.more a:link {
    color: #ccc8be;
}

Let me know where I'm off-base

Thanks,
David
0
Hi Experts!

I'm facing na page error when trying do run a query in Codeigniter, when groupyng  to the column "idpublicacoes", accordingly with te code below:

         public function dados_relatorio_publicacoes_datas($qtd = 0,$inicio = 0)
        {

            $data_inicial =  $this->input->post('data_inicial');
        	$data_final   =  $this->input->post('data_final');
                
            $this->db->where('data >=', $data_inicial);
            $this->db->where('data <=', $data_final);
            
            $this->db->group_by("idpublicacoes"); 
            
            return $this->db->get('tb_registra_publicacoes');
    	}

Open in new window


If I don't put the line:
$this->db->group_by("idpublicacoes");

Everything goes ok.

Here is the table structure:

CREATE TABLE tb_registra_publicacoes
(
  idregpublicacoes integer NOT NULL DEFAULT nextval('id_seq_reg_publicacoes'::regclass),
  idpublicacoes integer NOT NULL,
  nome character(300) NOT NULL,
  data date NOT NULL,
  visitas integer,
  CONSTRAINT pk_tb_reg_publicacoes PRIMARY KEY (idregpublicacoes)
)
WITH (
  OIDS=FALSE
);
ALTER TABLE tb_registra_publicacoes
  OWNER TO postgres;

Open in new window


What could be wrong in the code and must be done?

Isn't necessary to code the query to count()  the lines too?

Thanks in advacnce!
0
Hi Experts!

Could you explain why codeigniter code:

 $this->load->helper('download');
 force_download($arquivo, "Ebook");

Open in new window


Tranforms the string:
$arquivo = "http://localhost/codeagro/arquivos/cesans/e_pub/Livro_melhor_alimento_ebook_2015.epub"

And produces this download (putting  "_ "  incorrectly in the string), accordingly with the picture
img_001
What must be done to correct it ?

Thanks in advance!
0
This is my first Bootstrap website, and everything works the way I need it to except the printed version. I'm in the process of making the website responsive, but just can't find anything online to print it properly.

The CSS file is interesting to say the least. The order is strange but important (for some unknown reason).

If the CSS is included inside the HTML file, the print preview displays the content larger (around 3 pages), the .contact-links and .contact-links2 classes showcases the text properly, and if "Background graphics" is checked in the print options panel, .jumbotron-special class displays the correct grey backdrop, but isn't vertically centered, and the <strong> text is in black where it should all be white.

If the CSS is linked to the HTML, the page fits mostly on one page with the footer hanging on the second page. The .contact-links and .contact-links2 text isn't formatted, the .jumbotron-special class doesn't display the grey backdrop at all, and all the text is black and larger. See css-in-html.jpg.

I suspect that the printout is for some reason displaying at a smaller, narrower screen, which isn't currently fixed in respect to the CSS media queries. I'd like if the links didn't show the URL link and the logos/icons weren't skewed.
See css-linked-to-html.jpg.

I need it to print out exactly like it appears online at full - 3/4 width.

You can download the source files here: https://drive.google.com/open?id=0B7SM5Lky-I-WakhyWjFyUkdab1k
And for Mac…
0
Hi Experts!

I'm facing a problem in making Codeigniter ressembles a Postgres query

The Codeigniter code (with tentatives)

	public function getPublicacoes($qtd = 0,$inicio = 0) {
    		
             $this->db->where('fk_idsetor','5');
            
             //EF 2015:
            $this->db->order_by("imagem_issuu DESC NULLS LAST");
            
            // Apresenta inicialmente todos com o livro eletronico ISSUU
           //$this->db->order_by('imagem_issuu');
            
    		if($qtd > 0){
    			$this->db->limit($qtd,$inicio);
    		}
    		return $this->db->get('tb_publicacoes');
    	}

Open in new window


Seeing the phppgadmin it looks fine

select * from tb_publicacoes ORDER BY imagem_issuu DESC NULLS LAST

 img_001

But the site doesn't presents it in the desired order the NULL line is presented before in some cases:

img_002
Do you know what's going wrong or must be configured (in Codeigniter)  ?

Thanks in advance.
0
Experts,

I am trying to add a datetime picker to a twitter bootstrap 3 project, but am having problems getting the code to work...

The resource i am using is from this website: https://eonasdan.github.io/bootstrap-datetimepicker/

First off, i dont have a lot of experience using JQuery, so this may be very obvious...

I have tried downloading then linking to the assets where necessary, and also tried to use the CDN options if available. I would be grateful if someone could help identify what im missing and help get the example here working:
http://www.suremedia.co.uk/ee-test/datetime.htm

Regards
Dean
0
Does anyone know of any good tools for converting Coldfusion to PHP? What is the best way to do this? We are considering making the change since Coldfusion's popularity seems to be declining.

Thank you for any advice you can provide
1
I have my edmx file in my configServer project, but moved my configModel.tt to my common project. Somehow when this was moved the name of the file had changed (the (s) from the name was removed). I was able to test and run this solution - everything was good. However, I had to create a nuget package for use in another solution and we discovered an issue when we tried to test this other solution. As we worked backwards we found that the configModel.tt had a different name (missing the (s) as stated above). We renamed this to be the correct filename (add (s) back on) and now it is broke, with the following error "Format of the initialization string does not confrom to specification starting at index 0". I have double checked the connection string in the app config and it looks correct. Has anyone ran into this issue before?
Does it have to do with renaming?
0

Web Frameworks

A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. Most common web application frameworks are defined by specific subsets, including ASP.NET, JaveEE, Symfony, ColdFusion Language (CFML), Laravel, jQuery and AngularJS, or for the related languages, including .NET, PHP, JavaScript, Java, Perl, Python, Ruby, C++ and C.

Top Experts In
Web Frameworks
<
Monthly
>