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.

Hi, I'm trying to add a new url to my site at transformbusiness.sg.

In the webroot folder, there is a file called urls.py.
I added in a url called "novshow".
Below is how the file looks like after I edited it...

# flake8:noqa
from django.conf.urls import *
from django.views.generic import TemplateView
from website.views import IndexView, NewsletterSignupView

urlpatterns = patterns('',
    url(r'^newsletter/signup$',
        NewsletterSignupView.as_view(),
        name='newsletter-signup'),
    url(r'^terms-and-conditions$',
        TemplateView.as_view(template_name='terms-and-conditions.html'),
        name='terms-and-conditions'),
    url(r'^privacy-policy$',
        TemplateView.as_view(template_name='privacy-policy.html'),
        name='privacy-policy'),
    url(r'^sitemap$',
        TemplateView.as_view(template_name='sitemap.html'),
        name='sitemap'),
    url(r'^novshow$',
        TemplateView.as_view(template_name='novshow.html'),
        name='novshow'),
    url(r'^$',
        IndexView.as_view(template_name='index.html'),
        name='index'),
)

Open in new window


I read somewhere that the urls.pyc file will be automatically re-compiled, but it doesn't seem to do so.
So, I SSH in, go to the webroot folder and compiled the urls.py file using the instructions at http://effbot.org/pyfaq/how-do-i-create-a-pyc-file.htm.

But transformbusiness.sg/novshow still doesn't work.
I've added the novshow.html file at the templates folder together with the other html files referenced in urls.py.

I'm not familiar with python/django, so if anyone here can help, that'd be great, thanks!
0
I am using a custom off-screen menu for small screens and do not want the default bootstrap menu to show. I need some help in either hiding or deleting Bootstraps collapsed menu. I'm starting with Bootstrap's menu-default menu-fixed-top.  The problem can be seen at http://www.pricelearman.com/clients.serenaconstruction/

I've tried various media-queries like .navbar .navbar-default .collapse.in .collapse {display:none;} without success with no luck.

Any insight would be greatly appreciated.
0
Hello Everyone,

I asked some years ago a company to build my website and as I can now understand the coding of php / mysql,
I just miss how the layout frame is construct. How the background picture is cut into three frames and how the picture segments do not have discontiunities.

Could somebody explain me how this is done ?
What kind of tool is it used to apply such a cut ?
Does somebody have some video tutorials about that procedure ?

I have added two screen shots to show you my query I woul like to get an answer.

Thank you very much in advance.
Best regards.
MiQi.
quest2-04102015.png
quest2-04102015.png
0
Please bear with my ignorance but the lack of proper explanation on the Zend website is adding to my confusion. I have also written to them a few days ago but have had no reply yet.

At present I am studying to sit for my Zend PHP Certification exam next year. I would like to follow it up with a Zend Framework Certification. I have these questions:

1) Am I right in assuming that for someone with very basic PHP knowledge the right order to follow is Zend PHP Certification > Zend Framework Certification?

2) Which Zend Framework exam should I sit for - Framework 1 or Framework 2? What I can't understand from their site is the difference between these two. I ask this because I would like to know which would be better choice keeping in mind what prospective employers look for these day.

Any advice would be most welcome.

thanks
0
Hi ,

I have used entity framework in my application & used Database first approach. I added/renamed some database fields and trying to update my entity model. Here is my database table

Account
----------
Id int PK
Name varchar(50)

Modified To

Account
-----------------
AccountId int PK
AccountName varchar(50)
AccountDesc varchar(255)

When I update entity data model using "Update Model from Database", In designer I see new fields but "id" and "Name" column still shows in Entity designer like this.

Account
--------------
Id
Name
AccountId
AccountName
AccountDesc

Also I am getting few errors. Can you help me how to resolve this?

Thanks
0
Hi,

What i s
reflections, dynamic class loading  and  byte code injection.

When we use them and what are advantages and disadvantages of using them. Any simple examples, links around it. Please advise
0
Hi,

Any good examples , links on how to use sping AOP to create logging mechanism and appenders etc for java j2ee applications. Please advise
0
Hi,

There are multiple report generation frame works like

 Open CSV, Apache FOP.

Which one to choose in which criteria. And what are pros and cons of each.

Please advise
0
java.util.concurrent.locks

when and how to use above package. Any simple examples in using about thread package. Please advise
0
Hello,

I would to use CouchDB with Flask framework (python framework for HTML). Appreciate if someone can share how to start using it. Any example would be very much appreciated.

Thanks!
0
Hi All,
Have deployed MVC app on IIS. Also deployed WCF service in IIS. I could run the service from the IIS as the svc url displaying on IE browser 8.  Now when I run the app via IIS , I get this error.

I could run the MVC code from VS2013 successfully from local system. I deployed the app in other server and there I am getting issues.

Please advise.

Kind regards,
Pooja
error.PNG
Web.config
svc.PNG
0
Hello,

A style is eluding me, please see attached screen. When in the smaller responsive sizes I cannot modify the line height on my link/text
http://think.darkstarmedia.net/

In the demo look at commercial insurance, I would like to remove the line height and have the text align to the top of the image, I can't seem to make it work.
screen.png
0
i am going through this tutorial - http://getbootstrap.com/css/#grid-options .
Why we should mention

<div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
  <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>

when max column allowed is 12.How can we keep column 18 in xs..pls clarify my doubt.
0
I am trying to fix a vulnerability found during a penetration scan. I need to correct the  X-Frame-Options response header and set it to DENY so that the webpage is unable to be opened in a frame. I found this page:

https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options

That says to add this to the <system.webServer> section.

<system.webServer>
  ...

  <httpProtocol>
    <customHeaders>
      <add name="X-Frame-Options" value="SAMEORIGIN" />
    </customHeaders>
  </httpProtocol>

  ...
</system.webServer>

to my web.config file. It looked straightforward enough, so I found that section and added that to the web.config file and still getting the alert when I run the penetration test after the change was made.

I need to know if there is something else I need to do in order for this to be set correctly.
0
IT WORKS FLUENTLY ON LOCALHOST BUTON SERVER YOU CAN CHECK IT
PLZ TELL ME I M GETTING FRUSTETED
error.php
MY_upload.php
0
I am looking for a stellar premium WordPress theme - preferably using bootstrap framework. I've downloaded a few free WP bootstrap themes -they all seem a bit buggy or the drop downs are messy or the slider doesn't work well in responsive.

I'm looking for a really nice responsive theme where the mobile navigation works well (with a hamburger menu) the desktop drop downs look good, a responsive slider, etc.

I'm hoping a premium theme will be less buggy than the free versions. It doesn't have to use the bootstrap framework, but I am looking for that functionality, 12 column grid, etc.

Thanks in advance for recommendations.

Craig
0
Hi,
when and why two use below two ways of web service Rest type Client creation



1.Futue way of doing like Future<boolean> f= asyncInvoker.post


2.call back handler way of doing

please advise
0
i m trying to do simple pagination but can't doing it properly.
there isn't any result of my codes
they are asit is simple


want pagination type of this

<first>123456<last>
plz can any body sujjest me the right code.
its simply urgent.

thanks.
pagination.php
0
Hi Experts,

I am working on a ASP.NET Web API application, currently there is no security on it. The API is working in an internal network. I want to allow only users from a certain Active Directory group to access the web API, for all the routes. I read around the MSDN documentation but haven't found a quick example. Can any body provide me a quick example? or find one?
Below are more details:
1. I am using Visual Studio 2013 and C#.NET
2. The ASP.NET Web API is using MVC 5, it has multiple controllers and all of them needs to be secured by the same AD group
3. The Web API is hosted by IIS 7 in Windows 2008 server.
4. If the API http request is rejected, just need to return some short JSON with error message, without asking user to input identity.

Please help me to make the example or find the example. If there is IIS setting required, please let me know.

Thank you!
0
What is the latest technology for web development like patient portal (Health care product).
Is single page application preferable? Which one do you prefer.  It should be salable and better performance.
Our Target Technology: .Net Framework  >= 4.5 , HTML5, CSS3, Javascript, Dapper, Angular, Web Api, MSSql Server.
Our Target Platform: Windows, Mac.
Our Target Devices :  desktop, Tablet, mobile

Presentation Layer
Which css framework do you prefer for large scale application. Like Bootstrap, Foundation, Materiel Design,
Which Third parity controls do you prefer for UI development. like infragitics, Telerik, etc (especially grid control)
Which javascript framework is good for large scale framework. like Angularjs, Ember, Winjs, Extjs, or javascript native code, etc..

Service Layer
Which identity provider do you prefer for small and large scale application.
Which one do you prefer for rest service?  WCF / Web Api.
How to secure Rest service other than SSL. (Message level Security)

Data Access Layer
Do you prefer any ORM for Data access layer (MS Sql server - Express edition  ) like Dapper, Entity Framework, Nhibernate, or pure Hand code ?
0
Hi, am about to begin a startup web development project and looking at the wealth of Javascript frameworks and APIs ... its daunting and  overwhelming. Am coming from C# and .NET development background last couple of years ... the last time I delved with web development was 8 years ago with basic php, python and core Javascript only.

So some basic questions for those with recent web development experience:
1. build systems - grunt or gulp?
2. is bootstrap still the best frontend page dev for multiple devices ?
3. Sass or Less??
4. framework - backbone, angular, react or ember?? do I even need one?
5. need for dependency management (i.e. browserify)??
6. why node.js?
7. mongoDB vs MySQL?
8. best IDE for all the above javascript web development?

Thanks so much.
0
Hello,
I have added a google custom search to my bootstrap build and it looks like crap, the CSS is 100% controlled by google and I cannot change it in any way. Please see this link, the search is in the 1st content section on right side

http://think.darkstarmedia.net/

I did find this article about overriding it, but I can't make it work
http://newsapps.github.io/bootstrap/getting-started/#third-parties

it talks about overriding specific elements, im having no luck though

/* Option 1A: Override a single element's box model via CSS */
.element {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}

Open in new window

0
in a framework like Symfony, should we throw exceptions from managers / models or Controllers?

Right now I am throwing it from both, just wanted to know what's the practice is?
0
Hello,

On this page, in my mega menu first level menu items (car insurance, home, etc..)
http://think.darkstarmedia.net/

When viewing at 768px wide I have this style

.navbar-default .navbar-nav > li > a.dropdown-toggle {
  font-size:11px;
  padding: 10px 4px 10px 4px;
}

But when we switch to 767px or lower, the nav switches to the responsive menu. I want it to change the css to

  font-size:14px;

I can't seem to find a way to target the difference

on a side note, it there an app that will let you select the entire path to an element?
0
I'm a Python developer but not a Django developer. I'm trying to get a feel for how, and how difficult, it would be to change the attached code from accepting JPGs files via the API to accepting PDF files.

Currently it errors when accepting PDFs...but works great with JPGs.

Please see the code snippets below.

Thanks!

admin.py

models.py

serializers.py

urls.py

views.py

apihandler.py
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
>